Opened 3 years ago

Closed 3 years ago

#2511 closed defect (fixed)

WCPS - wrong generated coordinates for irregular axis when resubsetting

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

WCPS query:

for c in (test_irr_cube_2)
return encode(c[ansi("2008-01-03T23:59:55.000Z":"2008-01-08T00:02:58.000Z"), E:"CRS:1"(0:0), N:"CRS:1"(0:0)]
[ansi("2008-01-08T00:02:58.000Z")], "csv")

should generate proper coordinate for ansi axis in the second subset like below:

 SELECT encode(
c[1:3,0:0,0:0][3,0:0,0:0]
, "csv" , "{\"geoReference\":{\"crs\":\"EPSG:32633\",\"bbox\":{\"xmin\":75042.72735943,\"ymin\":5454865.557938452,\"xmax\":75042.72735943,\"ymax\":5454865.557938452,\"representation\":\"\\"75042.72735943,5454865.557938452,75042.72735943,5454865.557938452\\"\"}},\"nodata\":[-9.22337204E+18]}") FROM test_irr_cube_2 AS c

Change History (1)

comment:1 by Bang Pham Huu, 3 years ago

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