mapgears / mitab

MITAB is an Open Source C++ library to read and write MapInfo .TAB (binary) and .MIF/MID files
23 stars 22 forks source link

Bad detection of L93 / EPSG:2154 projection #1

Open vpicavet opened 11 years ago

vpicavet commented 11 years ago

When reading and writing Mapinfo files, there is a problem detecting Lambert 93 / EPSG:2154. There are incompatibilities between Mapinfo and Mitab. Mapinfo saves values for SP1 Standard Parallel) and SP2 projection parameters in a way, and OGR (MiTAB) reads it differently in the resulting TAB file. Attached is a patch inverting the order of SP1 and SP2 when reading and writing TAB files, only for L93/EPSG:2154. It is applicable on the MiTAB version which is included with gdal révision svn 25454.

Patch : https://gist.github.com/vpicavet/5569914

vpicavet commented 11 years ago

Some useful links concerning this issue :

http://www.digitalpreservation.gov/formats/fdd/fdd000300.shtml (TAB, MIF) http://spatialnews.geocomm.com/features/mif_format/ (TAB) http://www.digitalpreservation.gov/formats/fdd/fdd000325.shtml (DBF, DAT