I'm working on a python script that loops the LayerToKML tool on a set of layers; here's the problem: the first execution works fine, all the others (hundreds) creates .kmz files like the one below...
...the whole set of geometries are invisible and placed at Equator or North Pole; on the contrary, all the attributes are correct.
I'm running the script with an IDE (PyScripter, 32 Bit, python 2.7.2): if I run the same code within the ArcGIS (10.1) python window, it works perfectly!!
Any idea would be really appreciated, thanks in advance.