[FWTools] ogr2ogr

Frank Warmerdam fwarmerdam at gmail.com
Sun Aug 21 13:48:16 EDT 2005


On 8/21/05, David Fawcett <david.fawcett at gmail.com> wrote:
> I am using org2ogr on linux (fc3).  I am attempting to reproject a
> shapefile that is in lat/long to UTM Zone 15.
> 
> Here is my syntax:  [root at localhost data]# ogr2ogr sail_trk.shp -a_srs
> EPSG:26915
> 
> I get this response indicating that my syntax is either wrong or that
> it doesn't recognize my epsg code:

David,

I believe the problem is that you didn't provide an destination
datasetname. 

Try:
ogr2ogr sail_trk_out.shp sail_trk.shp -a_srs EPSG:26915

ogr2ogr does not support "in place" reprojection or other transformations.

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 FWTools mailing list