[FWTools] Question About Shapefile Reprojection With FWTools/OGR2OGR
sunburned.surveyor at gmail.com
Mon Oct 26 14:04:01 EST 2009
I'm using FWTools for the first time, and I'm trying to figure out the
command I would use to get OGR2OGR to perform a coordinate
transformation on an ESRI Shapefile. I can't seem to get the syntax
for the command correct, and I was hoping to get some help here.
I'm trying to reproject a shapefile named "roads.shp" from WGS84 to
California State Plane Zone 3. The resulting file should be named
new_road.shp. I know my EPSG codes are 4326 and 2227.
Here is the command that I think is the closest to what I need, after
some trial and error:
ogr2ogr -s_srs EPSG::4326 -t_srs EPSG::2227 -f "ESRI Shapefile"
ogr2ogr reports that EPSG::2227 is not found in the support files. I
thought this was a fairly common map projection. Is there a problem
with my command syntax? Do I need to add support for this EPSG code to
FWTools? Can you point me towards the documentation I would use to do
The Sunburned Surveyor
More information about the FWTools