[gdal-dev] SQL layer from feature Id
Jukka Rahkonen
jukka.rahkonen at mmmtike.fi
Sat Oct 13 23:53:00 PDT 2012
Gabriel Fusca <gabrielfusca <at> suremptec.com.ar> writes:
>
> 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?
Read http://www.gdal.org/ogr/ogr_sql.html
and have a try with FID.
-Jukka Rahkonen-
More information about the gdal-dev
mailing list