Opened 8 years ago

Closed 8 years ago

#1324 closed defect (fixed)

WCS_Wrong bounding box when translate to WCPS

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: wcs translated to WCPS Cc: Dimitar Misev, Vlad Merticariu
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 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

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.