[Fdo-trac] [fdo-trac] #935: Failure stripping PostGIS axis from srid=2000
FDO
trac_fdo at osgeo.org
Sat Dec 9 23:31:18 PST 2017
#935: Failure stripping PostGIS axis from srid=2000
-----------------------------+-----------------------
Reporter: jng | Owner: gregboone
Type: defect | Status: new
Priority: major | Milestone:
Component: Utilities API | Version:
Severity: 3 | Keywords:
External ID: |
-----------------------------+-----------------------
PostGIS spatial context test is failing for srid=2000 with this WKT:
{{{
PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla
1957",DATUM["Anguilla_1957",SPHEROID["Clarke 1880
(RGS)",6378249.145,293.465,AUTHORITY["EPSG","7012"]],AUTHORITY["EPSG","6600"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4600"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-62],PARAMETER["scale_factor",0.9995],PARAMETER["false_easting",400000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","2000"]]
}}}
The fixed WKT is malformed at the end (note the lack of comma before the
last `AUTHORITY` element
{{{
PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla
1957",DATUM["Anguilla_1957",SPHEROID["Clarke 1880
(RGS)",6378249.145,293.465,AUTHORITY["EPSG","7012"]],AUTHORITY["EPSG","6600"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4600"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-62],PARAMETER["scale_factor",0.9995],PARAMETER["false_easting",400000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]]AUTHORITY["EPSG","2000"]]
}}}
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/935>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list