[Gdal-dev] Re: prj string problem

Frank Warmerdam warmerdam at pobox.com
Mon Nov 22 22:44:53 EST 2004


Gao wrote:
> I have a tiff image and gdalinfo returns the following prj string:
> 
> PROJCS["unnamed",
>     GEOGCS["NAD83",
>         DATUM["North_American_Datum_1983",
>             SPHEROID["GRS 1980",6378137,298.2572221010002,
>                 AUTHORITY["EPSG","7019"]],
>             AUTHORITY["EPSG","6269"]],
>         PRIMEM["Greenwich",0],
>         UNIT["degree",0.0174532925199433],
>         AUTHORITY["EPSG","4269"]],
>     UNIT["metre",1,
>         AUTHORITY["EPSG","9001"]],
>     AUTHORITY["EPSG","26986"]]
> 
> 
> ESRI ArcGIS software does not accept the prj string. One reason could be
> the PROJECTION parameter is missing from the PROJCS definition. According 
> to the WKT spec at 
> http://geoapi.sourceforge.net/snapshot/javadoc/org/opengis/referencing/doc-
> files/WKT.html,
> 
> PROJECTION is not optional within a PROJCS. How should I fix this?

Folks,

The problem here turned out to be that the EPSG CSV files were not being
found.  Setting the GDAL_DATA environment variable to point to them solved
the problem.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list