[gdal-dev] incorrect coordinate system with ogr2ogr -f "MapInfo file"

Even Rouault even.rouault at spatialys.com
Wed Aug 12 14:03:10 PDT 2020


On mercredi 12 août 2020 13:59:03 CEST Richard Greenwood wrote:
> I recently upgraded to gdal 3.0 and 3.1 on two computers. When using
> ogr2ogr to create MapInfo files the coordinate system of the resulting
> MapInfo files is incorrect. The coordinate system is epsg:3739 which uses
> US Survey Feet. I used MapInfo to convert the native binary file to
> MapInfo's external ASCII format to be able to see the coordinate system
> definition. With gdal <3.0 the correct MapInfo definition is:
> CoordSys Earth Projection 8, 74, "survey ft", -110.083333333333, 40.5,
> 0.9999375, 2624666.6666999999, 328083.3333 Bounds (-30000000, -15000000)
> (30000000, 15000000)
> With gdal 3.0 and 3.1 it is:
> CoordSys Earth Projection 8, 74, "m", -110.083333333333, 40.5, 0.9999375,
> 2624666.6666999999, 328083.3333 Bounds (-27375333.3333, -14671916.6667)
> (32624666.6667, 15328083.3333)
> 
> I'm running gdal on Linux, gdal 3.0 with proj 6.3 from the Ubuntu 20.04
> distribution and gdal 3.1 with proj 7.1 built from source. Any suggestions
> for other things to look at? I'm happy to dig into this more if anyone has
> suggestions.

Issue confirmed. I've just fixed in master and 3.1 branches

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/20200812/f6dbc81e/attachment.html>


More information about the gdal-dev mailing list