[gdal-dev] how to clip the shape file

Chaitanya kumar CH chaitanya.ch at gmail.com
Mon Aug 23 05:34:28 EDT 2010


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 <mail2vajram at gmail.com> wrote:

>
> 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 raster....how 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
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100823/89378b53/attachment.html


More information about the gdal-dev mailing list