Hi,

I am very new in this mailing list and I hope I don't ask for something already posted. If so, please excuse me.
I look a bit in the archive for my problem but found nothing relevant.

I want to tile my shapefiles with fixed extents in order to raster them to tif files and then to do some treatments in Photoshop.
I use for that a script with ogr2ogr used with the option -spat
The problem is that some shapfiles have a only small part of the extent filled with data. The result is that the extent of the croped shapefile is a bounding box of those data and not the extent I set with -spat: for exemple with "-spat -136 -9 -127 0" I can get a shapefiles with -130.5 -8.2 -130.2 -8.1

Is there any possibility to get a shapefile with the extent I gave in the command line ?

Thanks a lot in advance,

Vincent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to