#1302 closed defect (fixed)

WCPS1.5 - Support crsTransform() to reproject coverage

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Cc: dmisev, vmerticariu
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 Changed 17 months ago by bphamhuu

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 Changed 15 months ago by bphamhuu

  • Milestone changed from 10.0 to 9.3
  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.