#1350 closed defect (fixed)

Petascope_WCS generate crsTransform invalid axis name

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Cc: dmisev, vmerticariu
Complexity: Medium

Description

Invalid axis name (AXIS_X, AXIS_Y) in the generated WCPS with crsTransform() and it has error when valid in WCPS handler.

service=WCS&version=2.0.1&request=GetCoverage&coverageId=eobstest&format=image/tiff&subset=t(0)&outputCrs=http://www.opengis.net/def/crs/EPSG/0/3857

for c in (eobstest) return encode( 
      crsTransform( slice(c,{t:"http://localhost:8080/def/crs/OGC/0/Temporal?epoch="1950-01-01T00:00:00"&uom="d"" (0)}), 
      { AXIS_X: " http://www.opengis.net/def/crs/EPSG/0/3857 ", 
        AXIS_Y: " http://www.opengis.net/def/crs/EPSG/0/3857 "  }, {} ), "netcdf", "xmin=25.0;xmax=75.5;ymin=-40.5;ymax=75.5;crs=EPSG:4326")

but with 2D, crsTransform uses correct axis names

service=WCS&version=2.0.1&request=GetCoverage&coverageId=mean_summer_airtemp
&subset=Long(120,130)&subset=Lat(-40,-25)
&format=image/png&outputCrs=http://www.opengis.net/def/crs/EPSG/0/4269


for c in (mean_summer_airtemp) return encode( crsTransform( trim(trim(c,
 {Long:"http://localhost:8080/def/crs/EPSG/0/4326" (120:130)}),
 {Lat:"http://localhost:8080/def/crs/EPSG/0/4326" (-40:-25)}),
 { Long: " http://www.opengis.net/def/crs/EPSG/0/4269 ",
  Lat: " http://www.opengis.net/def/crs/EPSG/0/4269 "  }, {} )
, "png")

Change History (3)

comment:1 Changed 10 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from new to closed

this ticket was fixed in patch of ticket 1188, close ticket.

comment:2 Changed 10 months ago by bphamhuu

  • Resolution fixed deleted
  • Status changed from closed to reopened

wrong close ticket, need to open.

comment:3 Changed 10 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from reopened to closed

The patch is accepted, close ticket.

Note: See TracTickets for help on using tickets.