Opened 4 years ago

Closed 17 months ago

#2382 closed defect (duplicate)

rasql - wrong subset validation error when grid domains are valid

Reported by: Bang Pham Huu Owned by: Dimitar Misev
Priority: major Milestone: 10.0
Component: rasserver Version: 9.8
Keywords: Cc: Vlad Merticariu, Peter Baumann
Complexity: Medium

Description

Import 2 test coverages from the attached file. Then check the rasql queries below:

rasql -q 'select sdom(c) from test_2d as c' --out string
[0:35,0:17]

rasql -q 'select sdom(c) from test_3d as c' --out string
[0:0,0:35,0:17]


rasql -q 'SELECT sdom( ( c + d[0,0:35,0:17] ))  FROM test_2d AS c, test_3d AS d' --out string
[0:35,0:17]

rasql -q 'SELECT sdom( ( c + d[0,0:35,0:17] )[30:32,3:12])  FROM test_2d AS c, test_3d AS d'

[ERROR] - 2020-11-03 09:58:48,833, qlparser/qtbinaryinduce.cc:313: areaOp1 [30:32,3:12] with extent [3,10]
[ERROR] - 2020-11-03 09:58:48,833, qlparser/qtbinaryinduce.cc:314: areaOp2 [0:35,0:17] with extent [36,18]
Execution error: Spatial domains of the binary induce operands are incompatible.

Attachments (1)

test_subset.zip (1.7 KB ) - added by Bang Pham Huu 4 years ago.

Download all attachments as: .zip

Change History (3)

by Bang Pham Huu, 4 years ago

Attachment: test_subset.zip added

comment:1 by Bang Pham Huu, 4 years ago

Cc: Vlad Merticariu Peter Baumann added
Owner: set to Dimitar Misev
Status: newassigned

comment:2 by Dimitar Misev, 17 months ago

Resolution: duplicate
Status: assignedclosed

Duplicate of #2371

Note: See TracTickets for help on using tickets.