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:

Lucena, Ivan wrote:
D:\Data\ESRIDATA\USA> ogrinfo -so states.shp states
INFO: Open of `states.shp'
      using driver `ESRI Shapefile' successful.
Layer name: states
Geometry: Polygon
Feature Count: 51
Extent: (-178.217598, 18.924782) - (-66.969271, 71.406235)
Layer SRS WKT:
GEOGCS["GCS_North_American_1983",
    DATUM["North_American_Datum_1983",
        SPHEROID["GRS_1980",6378137,298.257222101]],
    PRIMEM["Greenwich",0],
    UNIT["Degree",0.0174532925199433]]

BTW, I checked my %GDAL_DATA% and it is correct and working fine on the same "Command Prompt" section with gdalinfo.

Would that be a bug or a misunderstanding of my part?

Thanks,

Ivan



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to