[Gdal-dev] Change EXTENT of a shapefile

shortyII sschantz at bfs.de
Wed Apr 23 11:49:29 EDT 2008


Hi Frank
thank you. Now I don't get an error, but it still doesn't work.
The extent parameters have their old values. Is this a principal problem of
shapefiles?
Best regards,
Stefan



> So instead use:
> 
>   ogr2ogr -spat 3500000 5300000 3540000 5400000 out.shp rastervorlage.shp
> 
> Once complete you can delete the original, and rename the new to the
> original if you want.
> 
> 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    | President OSGeo, http://osgeo.org
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 

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



More information about the gdal-dev mailing list