[gdal-dev] ogr2ogr and reserved words

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Sat Jul 14 22:53:19 PDT 2012


Ivan Lucena <ivan.lucena <at> princeton-ma.us> writes:

> 
> Hi there,
> 
> Is there any trick to avoid creating field names with reserved words? For
example, a DBF from a shapefile can
> have field names like "long" and other formats may not like it.

Just remembered another example: having an attribute named "ROWID" will make
spatial index of a Spatialite table unusable. Perhaps Spatilite driver could try
to sanitize it while reading data in?

-Jukka Rahkonen-




More information about the gdal-dev mailing list