[gdal-dev] Using field name as variable in a "dialect sqlite" query
aborruso
aborruso at gmail.com
Wed Nov 22 03:36:34 PST 2017
Hi,
I have this kind of CSV
ID,x,y,epsg
1,500000,4000000,32633
1,500000,4000000,32632
Is it possible to use ogrinfo and a "dialect sqlite" query in this way, and
set the EPSG by reading the value from the `epsg` field?
ogrinfo -dialect sqlite -sql "select ST_GeomFromText('POINT(' || x || ' ' ||
y || ')',epsg) from source" source.csv source
If yes, how?
Thank you
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
More information about the gdal-dev
mailing list