riccardoklinger / OSMquery

Query OSM data and add results to your ArcGIS project
GNU General Public License v2.0
75 stars 10 forks source link

adding fields fails #31

Closed riccardoklinger closed 6 years ago

riccardoklinger commented 6 years ago

The OSM data structure contains tags with numbers in the name, like "3drtype". Adding fields for this tag fails as it is not supported in ArcGIS. Maybe add an underscore in front?

rastrau commented 6 years ago

Good point. I was pondering at some point if there may be other pitfalls than ":", but didn't think of this one. I think, ArcGIS default behaviour would be to add "F" (field) though? (like it adds "T" for incompatible FGDB table names) If we can verify this to be default, I suggest sticking to it.

riccardoklinger commented 6 years ago

here is an example query for the issue: [out:json][timeout:60][date:"2018-09-13T13:38:13Z"];(node"building";way"building";relation"building";);(._;>;);out;>;

riccardoklinger commented 6 years ago

after contacting three persons, I would ussgest to use the underscore addition. a "3dr:type" would then be: "_3drtype