Hi all,

I was wondering if there is a way to get at the original feature id when executing an SQL query for the SQLite dialect. Something similar to what is described in http://www.gdal.org/ogr_sql.html for FID for the OGR dialect.

That is, is there something equivalent to the following for the SQLite dialect:
ogrinfo -sql "SELECT FID, * from SomeLayerName where ..." someFile.ext

Keep in mind that what I am after is the original feature id of the layer of the data source, not the id in the resulting SQL layer.

Thanks,
André
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to