[gdal-dev] Original FID for SQLite dialect
Andre Vautour
andre.vautour at caris.com
Fri Nov 14 07:57:03 PST 2014
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é
More information about the gdal-dev
mailing list