[gdal-dev] Official support for empty field names in OGR?
even.rouault at spatialys.com
Sun Sep 13 04:37:47 PDT 2020
On samedi 12 septembre 2020 19:48:58 CEST Alan Snow wrote:
> This is a question originating from:
> It seems that empty field names work in GDAL/OGR without issue across the
> drivers I have tested (ESRI Shapefile, GeoJSON, GPKG, CSV). However, one
> question Sean Gillies and I have is: Is this behavior expected and
An empty string is just a string, so unless drivers actively test for it, that should work I guess.
But this is certainly playing a bit with fire. Wouldn't be surprised that applications consuming
such empty field name don't like it much.
Actually just seeing that PostgreSQL and mySQL don't like empty string as a column. It seems
to be a general SQL92 restriction actually (SQLite3 is an exception to that)
Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev