Opened 3 years ago

Closed 3 years ago

#2520 closed enhancement (fixed)

WCPS - proper error message when axis iterator of coverage constructor is string

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: petascope Version: 9.8
Keywords: Cc:
Complexity: Medium

Description

This query has date time as string

for $c in (test_eobstest) 
return 
encode(
coverage result
over $y lat  (-90 : -85),
     $x long  (-180 : -170),
     $t t ("2015-01-01T00:00:00.000Z":"2018-01-01T00:00:00.000Z")
values $c[ Lat($y), Long($x), t($t)]
,
"csv"
)

it should have proper error like

Please specify integer grid coordinates, or use the imageCrsDomain
function to derive them automatically from geo coordinates for 
coverage constructor "result", iterator variable $i.

Change History (2)

comment:1 by Bang Pham Huu, 3 years ago

Owner: set to Bang Pham Huu
Status: newassigned

comment:2 by Bang Pham Huu, 3 years ago

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