[Gdal-dev] using nad grid within ogr2ogr

Jeremy Palmer JPalmer at linz.govt.nz
Thu Apr 12 17:00:24 EDT 2007


Hi,
 
Is is possible to update the projection definitions that ogr2ogr uses
to include the use of a custom nad grid? I know you can specific the
proj4 def on the command line, but it would be useful to be able to
update the gdal data defintions files so I can just use the EPSG srid on
the command line.
 
i.e 
 
"ogr2ogr -f "Mapinfo File" temp PG:dbname=xxxx -t_srs EPSG:27200
table"
 
instead of
 
ogr2ogr -f "Mapinfo File" temp PG:dbname=xxxx -t_srs "+proj=nzmg
+lat_0=-41 +lon_0=173 +x_0=2510000 +y_0=6023150 +ellps=intl
+datum=nzgd49 +units=m +no_defs  <> +nadgrids=nzgd2kgrid0005.gsb" table
 
Thanks
Jeremy

______________________________________________________________________________________________________

This message contains information, which is confidential and may be subject to legal privilege. 
If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message.
If you have received this message in error, please notify us immediately (Phone 0800 665 463 or info at linz.govt.nz) and destroy the original message.
LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ.

Thank you.
______________________________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070413/e24c8eb2/attachment.html


More information about the Gdal-dev mailing list