Opened 4 years ago
Last modified 4 years ago
#2332 closed defect
rasql - segfault if width is 0 in project() — at Initial Version
Reported by: | Bang Pham Huu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | rasserver | Version: | 9.8 |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu, Peter Baumann | |
Complexity: | Easy |
Description
Import the test coverage by wcst_import from the attached file and run this query:
rasql -q 'SELECT ENCODE( project(c0[0:247,0:380], "804850.0,5809400.0,807330.0,5813210.0", "EPSG:32632", "13.4912109375,52.36083984375,13.502197265625,52.371826171875", "EPSG:4326", 0, 0, near, 0.125) , "png") FROM utm32_4_utms_10m_part4_cropped AS c0' --out file
The problem was due to width/height are set to 0 by the rasql query with project() document:
0, 0, near, 0.125
It should show this error instead of segfault
Reason: Projection output must have width > 0.
Note:
See TracTickets
for help on using tickets.