[gdal-dev] No PROJ.4 translation for source SRS

Harsh Govind harsh.govind at spadac.com
Tue Jan 19 10:42:01 EST 2010


I have a feeling that you are missing GDAL_DATA environment variable with path to directory containing coordinate information. I have usually seen such errors in that case.

Regards,
Harsh Govind
________________________________________
From: gdal-dev-bounces at lists.osgeo.org [gdal-dev-bounces at lists.osgeo.org] On Behalf Of Frank Warmerdam [warmerdam at pobox.com]
Sent: Tuesday, January 19, 2010 10:30 AM
To: Smart, Gary
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] No PROJ.4 translation for source SRS

Smart, Gary wrote:
> I still can’t get to the bottom of this message – can anyone explain it…
>
>
>
> *ERROR 1:  No PROJ.4 translation for source SRS, coordinate
> transformation initialization has failed*.
>
>
>
> I’m trying to convert the native coordinates in a file into WGS84
> lat/longs.
>
> However, when I create the OGRCoordinateTransformation (using the
> importFromWkt for input source and setWellKnownGeogCS(“WGS84”) for
> output) I get the above PROG.4 error.

Gary,

I'm afraid I never looked into the original problem because your reference
to the files in question ("tiff files from the mapserver tutorial") was too
inconvenient to follow up on.  Can you provide a more direct reference to them?
What does gdalinfo report for one of the problem files?

The message means that the code used to translate WKT coordinate system
descriptions into PROJ.4 coordinate system descriptions does not know how
to do it for the provided coordinate system.  This might be for a reason
as simple as the coordinate system string being empty (unavailable).

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

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


More information about the gdal-dev mailing list