Opened 5 years ago

Closed 5 years ago

#2149 closed enhancement (fixed)

Petascope - Extends WMS style with multiple layer iterators

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: petascope Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

Currently, WMS style can support only 1 layer iterator (e.g: $c for WCPS fragment and $Iterator for Rasql fragment).

This makes it impossible to combine multiple layers in 1 WMS style (e.g: to calculate NDVI from 2 separate layers from GetMap request).

Hence, for more than 2 layers in 1 style, the layer iterators will be in this format:

+ WCPS fragment: $c1,$c2,..
+ Rasql fragment: $Iterator1,$Iterator2,...

The NDVI style can be used like this from 2 layers (each layer contains 1 band):

(($c1 - $c2) / ($c1 + $c2))

Change History (3)

comment:1 by Dimitar Misev, 5 years ago

But $c and $Iterator should still be supported for backwards compatibility.

in reply to:  1 comment:2 by Bang Pham Huu, 5 years ago

Replying to dmisev:

But $c and $Iterator should still be supported for backwards compatibility.

yes, it is extended.

comment:3 by Bang Pham Huu, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.