[gdal-dev] ERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is known.

Even Rouault even.rouault at spatialys.com
Fri Sep 16 14:03:26 PDT 2016


Helmut,

> when I do: testepsg of the ogr2ogr'ed shapefile prj file:
> 
> testepsg Gesamtgewaessernetz_v11_Tirol_epsg31287.prj
> 
> ERROR 6: No translation for Lambert_Conformal_Conic to PROJ.4 format is
> known.
> PROJ.4 rendering of [Gesamtgewaessernetz_v11_Tirol_epsg31287.prj] =
> 
> is this normal? 

Yes. testepsg foo.prj expects a .prj file conforming to OGC WKT, whereas a .prj 
file generated by the Shapefile driver will follow ESRI WKT.

testepsg (or gdalsrsinfo) ESRI::Gesamtgewaessernetz_v11_Tirol_epsg31287.prj 
will report

PROJ.4 : '+proj=lcc +lat_1=49 +lat_2=46 +lat_0=47.5 +lon_0=13.33333333333333 
+x_0=400000 +y_0=400000 +ellps=bessel +units=m +no_defs '

OGC WKT :
PROJCS["MGI_Austria_Lambert",
    GEOGCS["GCS_MGI",
        DATUM["Militar_Geographische_Institute",
            SPHEROID["Bessel_1841",6377397.155,299.1528128]],
        PRIMEM["Greenwich",0],
        UNIT["Degree",0.017453292519943295]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["standard_parallel_1",49],
    PARAMETER["standard_parallel_2",46],
    PARAMETER["latitude_of_origin",47.5],
    PARAMETER["central_meridian",13.33333333333333],
    PARAMETER["false_easting",400000],
    PARAMETER["false_northing",400000],
    UNIT["Meter",1]]

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list