#1324 closed defect (fixed)

WCS_Wrong bounding box when translate to WCPS

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

Description

WCPS query

for R in (test_pixel)return encode( (( 
R)[E(377983:390000),N(4902991:4917275)] ), "tiff")

and Rasql query

select encode(R[0:401,0:476], "GTiff",
"xmin=377983;xmax=390000;ymin=4902991;ymax=4917275;crs=EPSG:32631")
from test_pixel AS R where oid(R)=133121

but with the same subset in WCS query

WCS

service=WCS&Request=GetCoverage&version=2.0.0&
subset=E(377983,390000)&subset=N(4902991,4917275)&
CoverageId=test_pixel&format=image/tiff

Rasql query from translated WCPS is wrong (xmin, xmax, ymin, ymax)

select encode(c[0:401,0:476], "GTiff",
"xmin=377955;xmax=390015;ymin=4902975;ymax=4917285;crs=EPSG:32631")
from test_pixel AS c where oid(c)=133121

Change History (1)

comment:1 Changed 15 months ago by bphamhuu

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

This ticket was fixed in the patch ticket 1188 as WCS is now using the WCPS 1.5, close ticket.

Note: See TracTickets for help on using tickets.