[gdal-dev] Selecting features using ogrinfo

kungphil phil.wilkes at dse.vic.gov.au
Thu Mar 1 18:36:12 EST 2012


Hi

I want to select a feature from a shapefile and extract the extent to then
clip a raster.  I thought I could use ogrinfo to select an individual
feature but using the command below the reported extent is for the whole
shapefile.

ogrinfo -al -where GRID_ID=312 shapefile.shp

Help please!

Phil 

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Selecting-features-using-ogrinfo-tp4537990p4537990.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list