[Gdal-dev] Change EXTENT of a shapefile

shortyII sschantz at bfs.de
Mon Apr 21 07:58:19 EDT 2008


Hi,
i am trying to change the EXTENT parameters of a shapefile with ogr2ogr:

ogr2ogr -update -spat 3500000 5300000 3540000 5400000 rastervorlage.shp
rastervorlage.shp
FAILED: Layer rastervorlage already exists, and -append not specified.
        Consider using -append, or -overwrite.
ERROR 1: Terminating translation prematurely after failed
translation of layer rastervorlage

but it doesn't work. (-append and -overwrite also don't work)
Is it in principal possible to change the extent and how can i do it?
Thank you!

Stefan 
-- 
View this message in context: http://www.nabble.com/Change-EXTENT-of-a-shapefile-tp16807475p16807475.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.



More information about the gdal-dev mailing list