Opened 13 years ago

Last modified 13 years ago

#796 new defect

CreateSpatialContext fails for certain WKT strings

Reported by: jng Owned by: romicadascalescu
Priority: minor Milestone: 3.6.0
Component: SQLite Provider Version:
Severity: 3 Keywords:
Cc: External ID:

Description

The FdoICreateSpatialContext command fails on a freshly created SQLite data store with the following parameters:

Name: Default Extent Type: Dynamic X/Y Tolerance: 0.0001 Coordinate System / WKT:

GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==> +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]

The SQLite provider doesn't like something about this string

Change History (2)

comment:1 by traianstanev, 13 years ago

Owner: changed from traianstanev to romicadascalescu

Probably the single quote?

comment:2 by jng, 13 years ago

Priority: majorminor

Hmmm, I just re-created the same command in C++ (the problem was from .net) and it did create the spatial context successfully.

I guess either the .net wrapper messed that string up somehow or some other managed -> unmanaged anomaly.

Note: See TracTickets for help on using tickets.