[gdal-dev] how to say gdalwarp to use nadgrid by default

Eloi Ribeiro eloi.ribeiro at gmail.com
Mon Oct 11 08:55:17 EDT 2010


Hi all,

I would like that every time a I use gdalwarp for some EPSG codes [1]
transformation it would use by default the nadgrids [2] (for Portugal and
Spain) that I have under the folder '/usr/share/proj/'.

For that purpose in PostGIS I needed to add
'+nadgrids=nadgrid_file_name.gsb' at the end of the line of the 'proj4text'
field text in table 'spatial_ref_sys' for each EPSG code I wonted to use the
nadgrid.

So I suppose there must be a similar way of doing this with GDAL. How can I
achieve this with GDAL?

Thank's!

[1] 27492,27493,20790,20791,23029,23030,23031,3763,4258,4326
[2] pt73_e89.gsb, ptLX_e89.gsb, ptLB_e89.gsb, ptED_e89.gsb, R2009V9.gsb,
BALR2009.gsb


Eloi Ribeiro
GIS Analyst
39,45º -4,40º
http://eloiribeiro.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101011/51f531cd/attachment.html


More information about the gdal-dev mailing list