Opened 8 years ago

Closed 8 years ago

#1302 closed defect (fixed)

WCPS1.5 - Support crsTransform() to reproject coverage

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

The reprojection function was added to WCPS 1.0 and need to handle also in WCPS 1.5

for c in (tyrol)  return encode(crsTransform(c, 
{ X:"http://www.opengis.net/def/crs/EPSG/0/3857", 
Y:"http://www.opengis.net/def/crs/EPSG/0/3857"}, {}), "tiff", "nodata=0")

now it has error in WCPS 1.5

petascope.wcps2.error.managed.processing.WCPSProcessingError : A parsing error occurred at position=1:148. 
Offending symbol is=[@24,148:148='}',<57>,1:148]. Parser message=mismatched input '}' expecting {REAL_NUMBER_CONSTANT, IDENTIFIER}.

Change History (2)

comment:1 by Bang Pham Huu, 8 years ago

by the way, add an exception if both axes don't have same CRS, it still returns a result.

for c in (test_projection)  return encode(crsTransform(
c, { Lat:"http://www.opengis.net/def/crs/EPSG/0/32633", 
Long:"http://www.opengis.net/def/crs/EPSG/0/3857"}, {}), "tiff", "nodata=0")

comment:2 by Bang Pham Huu, 8 years ago

Milestone: 10.09.3
Resolution: fixed
Status: newclosed

this ticket was fixed with the patch for ticket1188, close here.

Note: See TracTickets for help on using tickets.