I'm using the LayerToKML_conversion tool in my python script published on ArcGIS Server as a GPServer. At the first time a call the service, the script generates the KML correctly, only the fist time. If I call the service again the KML is created with wrong values at coordinates, using "," (comma) as decimal separetor. If a restart the service (GPServer), at the fist time will create the KML correctly again. I've tried to set the locale in my python script but it doesn't work. How can I fix this problem?
... View more