[gdal-dev] ogrinfo: how retrieve the extent of a single geometry

Andrea Peri aperi2007 at gmail.com
Fri Oct 4 23:11:15 PDT 2013


Hi all,

I need to retrieve the extent of a single geometry using ogrinfo.

I try to use this sintax:

ogrinfo -al -so filename.shp -where "field1='value1'"

But ogrinfo return always the extent of all the shapefile not only the
extent of filtered one.

Thx,

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131005/314448bc/attachment.html>


More information about the gdal-dev mailing list