Opened 9 years ago
Last modified 6 years ago
#1308 closed defect
RasJ_More meaniningful error from Rasql projection() instead of error number 10000 — at Version 1
Reported by: | Bang Pham Huu | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 9.7 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description (last modified by )
WCPS query which is used to project from epsg:4326 to UTM zone 33. (the problem due to the coverage cannot reproject to other zone nearby its boundingbox (zone 12)).
for c in (test_eobstest) return encode(crsTransform(c[t:"CRS:1"(0), Lat(25:25), Long(40:40)], { Lat:"http://www.opengis.net/def/crs/EPSG/0/32633", Long:"http://www.opengis.net/def/crs/EPSG/0/32633"}, {}), "tiff", "nodata=0")
in Petascope, it throw not meaningful error:
Error evaluating rasdaman query: 'SELECT encode(project( c[0,29:29,0:0], "40,25,40,25", "EPSG:4326", "EPSG:32633" ), "tiff" , "{\"geoReference\":{\"crs\":\"EPSG:32633\",\"bbox\":{\"xmin\":3075081.4950384865514934062957763671875,\"ymin\":2966187.5636845119297504425048828125,\"xmax\":3132613.194358731620013713836669921875,\"ymax\":3023719.2630047569982707500457763671875}},\"metadata\":{\"Creator\":\"This is a test creator file\",\"Project\":\"This is another test file\",\"Title\":\"This is a test file\"},\"nilValues\":[{\"value\":\"0\"}],\"nodata\":[0]}") FROM test_eobstest AS c'. Reason: No error message available for error number 10000.
it should throw the message same as Rasql (which is related to CRS not from general internal error).
Rasql Executing retrieval query...rasdaman error 0: Exception: CRS Reprojection failed at runtime. Check that the CRSes are fully supported.
I debugged in rasj RasRasnetImplementation.java
but it couldn't catch the error as same as from rasql but empty error message instead http://rasdaman.org/browser/java/src/main/java/org/rasdaman/rasnet/communication/RasRasnetImplementation.java#L688
Change History (1)
comment:1 by , 6 years ago
Complexity: | Easy → Medium |
---|---|
Description: | modified (diff) |
Milestone: | 10.0 → 9.7 |
Owner: | set to |
Priority: | minor → major |
Status: | new → assigned |
Summary: | Petascope_More meaniningful error from Rasql projection() → RasJ_More meaniningful error from Rasql projection() instead of error number 10000 |
Note:
See TracTickets
for help on using tickets.