Opened 2 years ago

Closed 2 years ago

#2547 closed defect (fixed)

specifying a wkt string in project leads to bad escaping of double quotes

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 10.0
Component: qlparser Version: 9.8
Keywords: Cc: Bang Pham Huu
Complexity: Medium

Description

A crs specified as a WKT string, e.g. "GEOGCS[\"WGS 84\".. will be translated in rasdaman to GEOGCRS["\""WGS 84\"""....

Example:

 [INFO] - 2022-02-14 17:27:20,299: Request: 'select encode( project(c, "0.0, 0.0, 25.5, 21.1", "GEOGCS[\"WGS 84\", DATUM[\"WGS_1984\", SPHEROID[\"WGS 84\",6378137,298.257223563, AUTHORITY[\"EPSG\",\"7030\"]], AUTHORITY[\"EPSG\",\"6326\"]], PRIMEM[\"Greenwich\",0], UNIT[\"degree\",0.0174532925199433], AUTHORITY[\"EPSG\",\"4326\"]]",
           "0.0, 0.0, 25.5, 21.1", "EPSG:4326",
           0.1, 0.1, near, 0.1), "tiff") from test_grey as c'... parsing... checking semantics... evaluating... [ERROR] - 2022-02-14 17:27:20,323, conversion/convutil.cc:51: GDAL library error 1: PROJ: proj_create_operations: geodeticCRS not found
[ERROR] - 2022-02-14 17:27:20,323, conversion/convutil.cc:51: GDAL library error 6: Cannot find coordinate operations from `GEOGCRS["\""WGS 84\""",DATUM["\""WGS_1984\""",ELLIPSOID["\""WGS 84\""",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["\""Greenwich\""",0,ANGLEUNIT["\""degree\""",0.0174532925199433]],CS[ellipsoidal,2],AXIS["longitude",east,ORDER[1],ANGLEUNIT["\""degree\""",0.0174532925199433]],AXIS["latitude",north,ORDER[2],ANGLEUNIT["\""degree\""",0.0174532925199433]],ID["\""EPSG\""","\""4326\"""]]' to `EPSG:4326'

Change History (1)

comment:1 by Dimitar Misev, 2 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.