Hi,
we're using ArcMap from ArcGIS Desktop 10.8 Basic.
My goal is to convert Excel-Adresslists (they include also coordinates) to KML/KMZ-files.
The KMZ has to have the same structure like the Workbook has. So I import every single Sheet as table, add x/y-data, export to shape, change "Display" and "Symbology" as needed and finally export these shapes to kml.
This isn't very effective if you need to create dozens of kmz's... The most time is lost during opening every single Sheet and edit Layer Properties. So I tried to use the fields "FolderPath" and "Name" in the Excel-File and import just the "summary"-Sheet.
And there are my problems:
- If I use "FolderPath" in the Excel-Sheet only, I can't use "Display" or "Labels" from the Layer Properties. ArcMap will ignore the expressions and uses the first column as "Name".
- If I use "FolderPath" and "Name" in the Excel-Sheet, ArcMap will correct use the points name in the kmz-structure but will also produce a label - even if "Label features in this layer" is not active! This label can't be deactivated?!?
- While using "FolderPath", why do I have to use more depth than I need/want? /1, /2, /3 don't work but /1/1, /1/2, /1/3 do. But the kmz then contains one level too much.
(The easiest way is a py-macro, maybe. But my knowledge is limited to py for Label Expressions... So, at the moment, the best way is to do it manually 😉 )