[gdal-dev] how to clip the shape file

2010-08-23 Thread mail2vajram
I want to access shape files using GDAL, and i have a shape file and raster image. then how to clip the shape file which covers that rasterhow to do this. Thank you -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-clip-the-shape-file-tp5451928p5451928.html

Re: [gdal-dev] how to clip the shape file

2010-08-23 Thread Chaitanya kumar CH
Vajram, Unless you want to do this with many files, you can just mention the raster's extents in the ogr2ogr utility with the options -spat and/or -clipsrs and convert the shapefile into a new shapefile that covers the raster. On Mon, Aug 23, 2010 at 2:56 PM, mail2vajram wrote: > > I want to ac