[gdal-dev] Problem with CSV when using both SQLite dialect and -oo GEOM_POSSIBLE_NAMES
Even Rouault
even.rouault at spatialys.com
Fri Aug 3 01:41:19 PDT 2018
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
More information about the gdal-dev
mailing list