[gdal-dev] orginfo and prj files
Mateusz Loskot
mateusz at loskot.net
Thu Aug 14 13:40:47 EDT 2008
Lucena, Ivan wrote:
> Mateusz,
>
> Mateusz Loskot wrote:
> > For Shapefile format specifically, it does run through morphing
> > procedure by calling OGRSpatialReference::importFromESRI
>
> In that case I would expect something like coming from ogrinfo:
>
> GEOGCS["NAD83",
> DATUM["North_American_Datum_1983",
> SPHEROID["GRS 1980",6378137,298.257222101,
> AUTHORITY["EPSG","7019"]],
> AUTHORITY["EPSG","6269"]],
> PRIMEM["Greenwich",0,
> AUTHORITY["EPSG","8901"]],
> UNIT["degree",0.01745329251994328,
> AUTHORITY["EPSG","9122"]],
> AUTHORITY["EPSG","4269"]],
> UNIT["metre",1,
> AUTHORITY["EPSG","9001"]],
>
> But instead I am getting just the content of the PRJ file:
Ivan,
I've stepped through the OGR code while opening states.shp data from
ESRI and I confirm that the execution goes through morphFromESRI
function. However, I'm not sure why ESRI version is printed, I suppose
your ESRI WKT is passed through morphing but it isn't recognized well.
May be Frank will have more comments.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list