I'm trying to create custom .shp files by drawing polygons on a new layer in Google Maps Engine, exporting that .kml file, and then converting that file to a .shp file with ogr2ogr.
If I run a command like this:
ogr2ogr -f 'ESRI Shapefile' foo.shp foo.kml
I get the following printed to stdout:
Warning 6: Normalized/laundered field name: 'Description' to 'Descriptio'
.
This causes a problem downstream because when I load the .shp file into a r-tree and then query it to perform reverse geocoding, I get back a field "Descriptio" instead of "Description", which just looks odd. Moreover, this happens despite the fact that when I open the .kml file in vim, I don't see any "description" tag anywhere.
So my question is: is there any way around this? Can I alter the KML file in any way to prevent ogr2ogr
from complaining that it needs to normalize/launder the field Description
?
Please let me know if this question is written poorly. It's my first time on GIS Stack Exchange and I'm not at all trying to be difficult/annoying/insufferable.