Opened 2 years ago
Closed 2 years ago
#2623 closed defect (fixed)
petascope - FIX - WMS allows to add request subset inside coverage expression in WCPS query fragment
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.1 |
Component: | petascope | Version: | 10.0 |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
For example, this request:
rasdaman/ows?service=WMS&version=1.3.0&request=GetMap&layers=cb_global_development_stage&bbox=29.98,-10,60,20.02 &time="2022-08-09T08:53:00.000Z"&width=800&height=600&crs=EPSG:4326&format=image/png&transparent=true&styles=overlay_3_and_7
Here, the value from time
parameter: "2022-08-09T08:53:00.000Z" will need to be added inside subset expression $c[ ... ]
.
with style overlay_3_and_7
is WCPS fragment with:
( switch case $c[development_stage(7)] = 7 return {red: 255; green: 0; blue: 0; alpha: 155} default return {red: 0; green: 0; blue: 0; alpha: 0} ) overlay ( switch case $c[development_stage(3)] = 3 return {red: 0; green: 255; blue: 0; alpha: 255} default return {red: 0; green: 0; blue: 0; alpha: 0} )
Note:
See TracTickets
for help on using tickets.