On jeudi 2 août 2018 22:39:56 CEST Rahkonen Jukka (MML) wrote: > Hi, > > I can reproduce this > https://gis.stackexchange.com/questions/287767/ogrinfo-unable-to-use-sqlite > -dialect-with-oo-geom-possible-names-open-option with GDAL 2.4.0dev but I do > not undesrtand what happens.
When doing -oo GEOM_POSSIBLE_NAMES=geom , there are both a text attribute field and a geometry field named geom in the layer definition, and when using the SQLite dialect, they conflict together. The solution is to also add -oo KEEP_GEOM_COLUMNS=NO (which is poorly named after reflection), so that the text attribute field is not reported. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
