Hello,
I have been trying to solve this problem and contacting to Esri Costumer Service in that issue. They told me tool works fine, they do not have any problem. I have been very frustrated I tried other people's computer at the office and the results were as I explained above and do not understand that how it does work fine for ESRI folks .
I am using 10.2.1 in office and I tried the script in 10.1 ( in home computer) and some reason the results in 10.1 were correct. It turned out the problem stems from ArcGIS version and have no idea want is going on...
Can any one try the script for me if they have ArcGIS 10.2 version or later ?
Below I attached a rar it has the sample data.
1. Open LayerToKML rar in C:\Temp
2. Open the lyr file in the arcmap and make sure it is not broken, if so open the shp and save the shp as layer (overwrite the layername).
3. Then by using Python IDLE ( under All programs-ARCGIS) open the test script and run module
It will run the inside Outputs and could you please send those to me with a rar file.
I would greatly appreciate that.