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

Eloi Ribeiro eloi.ribeiro at gmail.com
Sun Oct 17 07:48:32 EDT 2010


In other words,

When I ask GDAL for:
*gdalwarp -s_srs EPSG:23030 -t_srs EPSG:4258 rast_23030.tif rast_4258.tif*

GDAL knows that 'EPSG:23030' means '+proj=utm +zone=30 +ellps=intl +units=m
+no_defs'.
So my question is: From witch file GDAL gets that information from?

Cheers,

Eloi Ribeiro
GIS Analyst
39,45º -4,40º
http://eloiribeiro.wordpress.com


On Mon, Oct 11, 2010 at 14:55, Eloi Ribeiro <eloi.ribeiro at gmail.com> wrote:

> 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/20101017/c3940712/attachment.html


More information about the gdal-dev mailing list