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- _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev