#2649 closed defect (fixed)

FIX - WMS should not add non XY axes slices if they already exist in the WCPS query 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

For example:

this WCPS query style:

(condense + over $t ansi(1:5) using $c[ansi($t), forecast(0)]) / 30

on 4D layer test_wms_4d_ecmwf_fire_netcdf

with GetMap request

http://localhost:8080/rasdaman/ows?service=WMS&version=1.3.0&request=GetMap&layers=test_wms_4d_ecmwf_fire_netcdf&bbox=34.4396675,29.6015625,34.7208095,29.8828125&time=%222017-01-10T00:00:00.000Z%22&forecast=0&width=800&height=600&crs=EPSG:4326&format=image/png&transparent=true&styles=test

it should not generate a WCPS query like below with ansi:"CRS:1"(0), forecast:"CRS:1"(0):

FOR c0 IN (test_wms_4d_ecmwf_fire_netcdf) RETURN  ENCODE 
((condense + over $t ansi(1:5) 
using c0[Long(29.6015625:29.8828125), Lat(34.4396675:34.7208095), 
ansi:"CRS:1"(0), forecast:"CRS:1"(0), ansi($t), forecast(0)]) / 30, "png")

the proper query is:

FOR c0 IN (test_wms_4d_ecmwf_fire_netcdf) RETURN  ENCODE 
((condense + over $t ansi(1:5)
 using c0[Long(29.6015625:29.8828125), Lat(34.4396675:34.7208095),
 ansi($t), forecast(0)]) / 30, "png")

Change History (1)

comment:1 by Bang Pham Huu, 18 months ago

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