[gdal-dev] SQL layer from feature Id

Gabriel Fusca gabrielfusca at suremptec.com.ar
Fri Oct 12 15:17:34 PDT 2012


Hi,

I want to execute a SQL query to a OGRDatasource (ESRI Shapefile) to filter
the selection of various features.

The query can be something like this: "SELECT * FROM layer WHERE FID = #";


What is the name of the of the feature ID fiel? How can i use the sql query
to filter a datasource by Feature ID?


Best Regards,

-- 
Gabriel Fusca
SUR Emprendimientos Tecnológicos

Perú 345  Piso 5to Oficina "B" (C1067AAG)
Ciudad de Buenos Aires, Argentina
Tel. +54 (11) 4342-2976/84
gabrielfusca at suremptec.com.ar
http://www.suremptec.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20121012/feb52bf6/attachment.html>


More information about the gdal-dev mailing list