Opened 2 years ago
Closed 2 years ago
#2650 closed defect (fixed)
FIX - WMS has issue when combining two different coverages in a WMS style
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.1 |
Component: | petascope | Version: | 10.0 |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description (last modified by )
For example, a 3D layer $cb_global_cloud_top_height
has a WMS style test
with WCPS query fragment which is combined with a 4D layer $cb_global_development_stage
:
switch case ($cb_global_development_stage[development_stage(3)] = 1 and $cb_global_cloud_top_height < 8000) return {red: 255; green: 255; blue: 255; alpha: 127} default return {red: 0; green: 0; blue: 0; alpha: 0}
WMS GetMap handler for WCPS query fragment is not able to generate a full WCPS query with proper slices for non-XY axes for both layer names for this GetMap request:
localhost:8080/rasdaman/ows?service=WMS&version=1.3.0&request=GetMap&layers=cb_global_cloud_top_height&bbox=29.98,-10,60,20.02&time="2022-09-09T08:53:00.000Z"&width=800&height=600&crs=EPSG:4326&format=image/png&transparent=true&styles=color
The generated WCPS query without proper subset for ansi
axis for coverage iterator c1
(cb_global_cloud_top_height
) is:
FOR c0 IN (cb_global_development_stage), c1 IN (cb_global_cloud_top_height) RETURN ENCODE ( switch case (c0[Long(-10:20.02), Lat(29.98:60), ansi:"CRS:1"(0), development_stage(3)] = 1 and c1 < 8000) return {red: 255; green: 255; blue: 255; alpha: 127} default return {red: 0; green: 0; blue: 0; alpha: 0}, "png")
Change History (2)
comment:1 by , 2 years ago
Description: | modified (diff) |
---|
comment:2 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.