Opened 15 years ago
Closed 13 years ago
#9 closed defect (invalid)
conversion dem() not work
Reported by: | Owned by: | cj | |
---|---|---|---|
Priority: | critical | Milestone: | Future |
Component: | qlparser | Version: | 8.1 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description (last modified by )
rasdaman@bronx:~$ rasql -q "select dem(a) from mr as a"
rasql: rasdaman query tool v1.0, rasdaman v8 — generated on 08.09.2009 08:32:43.
opening database RASBASE at localhost:7001...ok
Executing retrieval query…rasdaman error 0: Exception: Transfer Failed
aborting transaction…ok
rasql done.
Change History (4)
comment:1 by , 15 years ago
Description: | modified (diff) |
---|---|
Owner: | set to |
Priority: | major → critical |
Status: | new → assigned |
comment:2 by , 15 years ago
comment:3 by , 15 years ago
The query above fails because:
- flipy is by default 1 and then at some point in the program it calculates
min.y=collBBox.endy - yhigh*collBBox.resy;
max.y=collBBox.endy - ylow*collBBox.resy;
and min.y is less then 0. A method checks sanity of this parameter and obviously throws an exception which unfortunately also crashes the server.
A query that works is:
./rasql -q 'select dem(a,"startx=0,starty=0,endx=1000,endy=1000,resx=0.1,resy=0.15") from mr as a' —out file
comment:4 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
The DEM operator requires additional parameters in order to run. So a sample query should look like:
./rasql -q 'select dem(a,"startx=0,starty=0,endx=10,endy=10,resx=5,resy=5") from mr as a' —out file
This still crashes the server but I don't know if the parameters I give make sense.