[gdal-dev] Mapinfo driver does not recognise certain datums properly

Tamas Szekeres szekerest at gmail.com
Thu Mar 15 08:25:58 EDT 2012


Hi Devs,

I have run into a problem when assigning a spatial reference to a mapinfo
file using ogr2ogr when using -a_srs "EPSG:28350".
The mapinfo driver doesn't seem to recognise the datum
(Geocentric_Datum_of_Australia_1994) and assigns WGS84 to the output file
which is a fairly inconvenient approach.

This problem is due to the incorrect entries in asDatumInfoList
(mitab_spatialref.cpp) since the entry for
Geocentric_Datum_of_Australia_1994 is missing, though it contains an entry
for the projection name GDA94 (and not for the datum name).

As far as I know the WKT datum names are vendor specific, therefore it's
not quite sufficient to use as a lookop key for the datum entries. But if
we use this approach even so, why don't we include the datum names from
gcs.csv for being compatible with the projections constructed by GDAL
itself?

Would that be reasonable to add multiple entries in asDatumInfoList or
placing this information in an external file?

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120315/5a2fed91/attachment.html


More information about the gdal-dev mailing list