[gdal-dev] How to use ozi_datum.csv in ogr2ogr
Even Rouault
even.rouault at mines-paris.org
Tue Aug 6 05:45:16 PDT 2013
Selon maning sambale <emmanuel.sambale at gmail.com>:
> Hi,
>
> I'm trying to use the Luzon Mindanao transformation to re-project some
> files. The
> Luzon Mindanao transformation [0] is commonly used in some maps in the
> Philippines often referred to as a separate datum but is actually just a
> unique set of transformation parameters based on the Luzon 1911 datum.
> According to the EPSG registry, the code is EPSG::2364.
>
> Gdal 1.10 has included this transformation using the ozi_datum.csv. How do
> I use this in ogr2ogr?
> For example I tried this:
>
> ogr2ogr -t_srs "Luzon Mindanao" dest.shp source.shp
> Failed to process SRS definition: Luzon Mindanao
>
You cannot use directly the strings of ozi_datum.csv. It is only for the
internal use of the OZI driver.
You can use the proj.4 string directly :
ogr2ogr -t_srs "+proj=longlat +ellps=clrk66 +towgs84=-133,-79,-72,0,0,0,0
+no_defs" dest.shp source.shp
> [0]
>
http://earth-info.nga.mil/GandG/coordsys/onlinedatum/CountryAsiaTable.html#LUZB
> [1] http://svn.osgeo.org/gdal/trunk/gdal/data/ozi_datum.csv
> --
> cheers,
> maning
> ------------------------------------------------------
> "Freedom is still the most radical idea of all" -N.Branden
> wiki: http://esambale.wikispaces.com/
> blog: http://epsg4253.wordpress.com/
> ------------------------------------------------------
>
More information about the gdal-dev
mailing list