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

kavinmehta kavin at tsswireless.com
Tue May 31 15:23:39 EDT 2011


Hi,

I would like to convert a shape file from EPSG 2229 to EPSG 4326 but am not
too sure how to do this using gdaltransform and running it from the command
line?

I tried looking at the manual and ran as per instructions, however it ended
up with a blank file. here is the i/p file details:
PROJCS["NAD_1983_StatePlane_California_V_FIPS_0405_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-118.0],PARAMETER["Standard_Parallel_1",34.03333333333333],PARAMETER["Standard_Parallel_2",35.46666666666667],PARAMETER["Latitude_Of_Origin",33.5],UNIT["Foot_US",0.3048006096012192]]

and i need the file in the following format:
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]

I ran the following command:

gdaltransform -s_srs "c:\xyz\oldfile.shp" -t_srs "c:\xyz\newfile.shp"

but it did not work.

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Convert-from-CA83-VF-EPSG-2229-to-WGS84-EPSG-4326-using-gdaltransform-tp6424186p6424186.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list