[gdal-dev] Re: Convert from CA83-VF (EPSG 2229) to WGS84 (EPSG 4326) using gdaltransform

Frank Warmerdam warmerdam at pobox.com
Tue May 31 20:29:48 EDT 2011


On 11-05-31 05:51 PM, kavinmehta wrote:
> Thanks Frank. Would you know how to do it? i.e. what command to use to
> convert a shape file from (EPSG 2229) to (EPSG 4326). I am having a hard
> time doing it thru ogr2ogr however i can easily do this in FME Desktop tool
> which uses ogr2ogr internally.

Kavin,

Something like:

   ogr2ogr -t_srs EPSG:4326 -s_srs EPSG:2229 out.shp in.shp

If the in.shp has a properly defined in.prj it will not be necessary to
use the -s_srs switch to set the source coordinate system.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list