Opened 4 years ago
Closed 4 years ago
#2323 closed defect (fixed)
petascope - supports encoding with null values as interval in encode()
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | server | Version: | 9.8 |
Keywords: | Cc: | Vlad Merticariu | |
Complexity: | Medium |
Description
With null values interval "9.96921e+35:*"
, it has this error:
SELECT encode(c, "image/tiff" , "{\"geoReference\":{\"crs\":\"EPSG:4326\",\"bbox\":{\"xmin\":-54.949999999999946,\"ymin\":73.28999999999999997,\"xmax\":-54.87999999999994597,\"ymax\":73.36}},\"metadata\":{\"AREA_OR_POINT\":\"Area\"}, \"nodata\":[\"9.96921e+35:*\"]}") FROM test_float32_asterisk_as_null_values AS c'... parsing... checking semantics... optimizing (level 3)... evaluating... [ERROR] - 2020-06-18 13:01:43,767, parameter 'nodata' has an invalid value, expected an array of double values. rasdaman error 242: Exception: Invalid format parameter.
Change History (2)
comment:1 by , 4 years ago
Owner: | changed from | to
---|---|
Summary: | rasql - supports encoding with null values as interval in encode() → petascope - supports encoding with null values as interval in encode() |
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Petascope should filter these interval null values when creating rasql encode() query.
Before that, one needs to add in the ingredients file with 2 null values like this:
and
"9.96921e+35:*"
will be filtered for rasqlencode()
query.