LayerToKML issue: null vectors from a loop

324
1
04-13-2018 06:50 AM
DavidePavia1
New Contributor

Hy everyone, 

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.

Davide

0 Kudos
1 Reply
DavidePavia1
New Contributor

Hy everyone, we've solved the problem by changing the system decimal separator, from comma to point. Thanks for the attention and have a good day. 

0 Kudos