[gdal-dev] ogr not reading the prj file

TUELLER, SHAYNE R CIV USAF AFMC 519 SMXS/MXDEC shayne.tueller at us.af.mil
Tue Jan 22 09:43:48 PST 2019


Yes, that is correct. So, I guess it is working as designed with the newer version of gdal?



Is there any way of forcing it to use the SRS info in my prj file with this newer version or am I stuck?



Shayne



--------------------------------------------------------------------------------------------------



ok, so I guess ogrinfo -al -so reports



GEOGCS["WGS 84",

    DATUM["WGS_1984",

        SPHEROID["WGS 84",6378137,298.257223563,

            AUTHORITY["EPSG","7030"]],

        AUTHORITY["EPSG","6326"]],

    PRIMEM["Greenwich",0,

        AUTHORITY["EPSG","8901"]],

    UNIT["degree",0.0174532925199433,

        AUTHORITY["EPSG","9122"]],

    AUTHORITY["EPSG","4326"]]



This is the expected behaviour. The content of a .prj file is WKT with the ESRI variant formatting. Newer GDAL versions manage to retrieve the OGC WKT definition when the ESRI WKT corresponds to a EPSG code.



--

Spatialys - Geospatial professional services http://www.spatialys.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190122/2d043991/attachment.html>


More information about the gdal-dev mailing list