[Gdal-dev] ERROR 6: Failed to initialize PROJ.4 with ...

Frank Warmerdam warmerdam at pobox.com
Thu Jul 5 16:00:08 EDT 2007


hellik at web.de wrote:
> hi frank,
> 
> thanks for your hint. i testet the target-wkt with testepsg and there is the
> problem:
> 
> Validate Fails. .... PROJECTION["Gauss_Kruger"] .... PROJ.4 rendering of
> [dhdn_zone3.prj] = +ellps=bessel
> +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +units=m +no_defs
> 
> so i hope, i'm right, but PROJECTION["Gauss_Kruger"] doesn't seem to be
> really a valitaded projection. so i will try it with the right
> tmerc-projection ....

Helli,

Gauss_Kruger means the same thing as Transverse_Mercator.  Just replace it.
It seems I checked the *wrong* one of your two WKT samples. :-)

If these .prj files are coming from ESRI software you should also consider
prefixing them with ESRI::, eg.

-t_srs ESRI::abc.prj

This tells GDAL/OGR to perform ESRI->OGR transformation of the WKT.  This
will fixup the Gauss_Kruger issue for instance.

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    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list