[gdal-dev] ogr2ogr mapinfo reporjection

Even Rouault even.rouault at spatialys.com
Tue May 30 14:50:31 PDT 2017


On lundi 29 mai 2017 10:35:36 CEST Jonathan Beliƫn wrote:
> Any idea about this topic ?
> 

I've just fixed the issue per
https://trac.osgeo.org/gdal/ticket/6903
where -t_srs EPSG:31370 will now work.

You can workaround the issue by using -t_srs belgian72.txt

with belgian72.txt content being:

PROJCS["Belge 1972 / Belgian Lambert 72",
    GEOGCS["Belge 1972",
        DATUM["Belgian 1972 7 Parameter",
            SPHEROID["International 1924",6378388,297,
                AUTHORITY["EPSG","7022"]],
            TOWGS84[-106.8686,52.2978,-103.7239,0.3366,-0.457,1.8422,-1.2747],
            AUTHORITY["EPSG","6313"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4313"]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["standard_parallel_1",51.16666723333333],
    PARAMETER["standard_parallel_2",49.8333339],
    PARAMETER["latitude_of_origin",90],
    PARAMETER["central_meridian",4.367486666666666],
    PARAMETER["false_easting",150000.013],
    PARAMETER["false_northing",5400088.438],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AXIS["X",EAST],
    AXIS["Y",NORTH],
    AUTHORITY["EPSG","31370"]]

Which is the output of gdalsrsinfo EPSG:31370 where the DATUM name has been replaced 
with "Belgian 1972 7 Parameter" instead of the original "Reseau_National_Belge_1972" in 
EPSG.
Note that MapInfo (or at least MITAB) apparently uses slightly different TOWGS84 
coefficients that the ones picked up by GDAL in the EPSG database.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170530/5260f831/attachment-0001.html>


More information about the gdal-dev mailing list