Petascope cannot encode coverages that have a CRS containing a ' " ' character (WCST_Import also).
|Reported by:||mdumitru||Owned by:||vmerticariu|
Description (last modified by bphamhuu)
Due to the way it calls rasdaman, the '"' is interpreted as the end of the query and because of it, it fails.
See in wcps/server/core/EncodeDataExpr.java, the last reference to result.
@Bang please check if this is the case in WCPS 1.5 as well.
Bang: update for better understanding:
So, WCPS 1.5 don't have "" with time Axis-label.
here is an example: WCPS 1.5
for c in (time3d) return encode(c[Lat(-37.5:-35.5), Long(148:149), time("1950-01-02")], "tiff")
SELECT encode(c[80:179,96:295,1], "GTiff" , "xmin=147.2;xmax=152.32;ymin=-39.66;ymax=-34.54;crs=OGC:AnsiDate?axis-label=time") FROM time3d AS c
WCPS 1.0 have this problem with Rasql:
select encode((c) [80:180,96:296,1], "PNG", "xmin=148.0;xmax=149.0;ymin=-37.5;ymax=-35.5;crs=OGC:AnsiDate?axis-label="time"") from time3d AS c where oid(c)=117761
Change History (8)
comment:6 Changed 12 months ago by bphamhuu
- Summary changed from Petascope cannot encode coverages that have a CRS containing a ' " ' character to Petascope cannot encode coverages that have a CRS containing a ' " ' character (WCST_Import also).