Opened 6 years ago

Closed 6 years ago

#1772 closed defect (fixed)

Rasql_Cannot subset from output of projection()

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

Description

This is a test collection in system test with this domain:

rasql -q 'select sdom(c) from test_wms_3857 as c' --out string
rasql: rasdaman query tool v1.0, rasdaman 9.6.0.
Opening database RASBASE at localhost:7001... ok.
Executing retrieval query... ok.
Query result collection has 1 element(s):
  Result element 1: [0:208,0:192]

Try to get the sdom() of the output of projection() in a target CRS (EPSG:4326).

rasql -q 'select sdom(
project(c, "12464999.9816,-5560567.84096,17400176.9294,-1003203.48247", "EPSG:3857", "EPSG:4326" )
) from test_wms_3857 as c' --out string
rasql: rasdaman query tool v1.0, rasdaman 9.6.0.
Opening database RASBASE at localhost:7001... ok.
Executing retrieval query... ok.
Query result collection has 1 element(s):

  Result element 1: [1:222,1:178]


Do it again but with the subset on the output of projection(), it throws an exception.

rasql -q 'select sdom(
project(c, "12464999.9816,-5560567.84096,17400176.9294,-1003203.48247", "EPSG:3857", "EPSG:4326" )
[3:5,6:7]) from test_wms_3857 as c' --out string
rasql: rasdaman query tool v1.0, rasdaman 9.6.0.
Opening database RASBASE at localhost:7001... ok.
Executing retrieval query... rasdaman error 201: 
Exception: The result is no interval.
aborting transaction... ok.

Change History (1)

comment:1 by Dimitar Misev, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.