[gdal-dev] troubles with OVERRIDE_PROJ_DATUM_WITH_TOWGS84

Margherita Di Leo diregola at gmail.com
Tue May 22 15:01:26 EDT 2012


Hi folks,

looks like this bug ticket [1] finds its roots into the gdal code. From a
discussion [2] in the gfoss.it [3] ML (the italian OSGeo local chapter)
emerged that gdal 1.8.0 introduced a further option named
OVERRIDE_PROJ_DATUM_WITH_TOWGS84, allowing to replace the +datum definition
with a corresponding +towgs84.
Such option is not supposed to be the default behavior when generating the
standard EPSG file for Proj4:

epsg_tr.py --config OVERRIDE_PROJ_DATUM_WITH_TOWGS84 FALSE -proj4 -skip
-list gcs.csv > epsg

Anyway, from direct testing emerged that setting the above mentioned option
to YES, NO, TRUE or FALSE has absolutely no effect at all; the +datum
definitions are unconditionally overwritten by +towgs84 in all cases. And,
accordindgly to this, the EPSG file distributed by the most recent Proj4
4.8.0 introduces many unexpected changes (e.g. affecting the Italian Rome
1940 SRS), thus causing many troubles due to this abrupt compatibility
break.

Could anyone please verify that, and, in case, I'll open a ticket.
Thanks!

madi


[1] http://trac.osgeo.org/proj/ticket/122
[2] http://lists.gfoss.it/pipermail/gfoss/2012-May/023071.html
[3] www.gfoss.it


-- 
Ing. Margherita Di Leo, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120522/13a31355/attachment.html


More information about the gdal-dev mailing list