<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: problem  with LayerToKML_conversion tool in python in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319522#M11268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to solve this problem and contacting to Esri Costumer Service in that issue. They told me tool&amp;nbsp; works fine, they do not have any problem. I have been very frustrated&amp;nbsp; 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 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp; and have no idea want is going on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one try the script for me if they have ArcGIS 10.2 version or later ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below I attached a rar&amp;nbsp; it has the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open LayerToKML rar in&amp;nbsp; C:\Temp&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;3. Then by using Python IDLE ( under All programs-ARCGIS) open the test script and run module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will run the inside Outputs and could you please send those to me with a rar file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would greatly appreciate that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 06:00:30 GMT</pubDate>
    <dc:creator>NaimeCelik</dc:creator>
    <dc:date>2014-09-11T06:00:30Z</dc:date>
    <item>
      <title>problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319517#M11263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to convert some layers, to kml in python IDLE. I used arcpy.LayerToKML_conversion . In ArcMap it works fine and you can convert each layer to kml without&amp;nbsp; any problem.However when I use it in python script, only first runing result of tool creates the correct location in kml file&amp;nbsp; and all other layers run inside "for loop" appear in 0 N and 0 S Geographic Coordinates. It is so weird, I checked the layers (.lyr&amp;nbsp; files) in ArcMap,they are all in correct location. If I close IDLE and only run one file it works, without closing the idle second attempt of running same script with same data will give&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;in 90° N and 180° E&lt;/SPAN&gt;Geographic Coordinates.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would greatly appreciate if someone tries this tool in python and let me know what they get.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Naime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 05:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319517#M11263</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-08-18T05:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319518#M11264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nothing is attached...was there supposed to be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 07:13:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319518#M11264</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-08-18T07:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319519#M11265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your interest on my post, I am still trying to solve this problem but no luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a simple script and sample data for you to try. You need to change the path of the data before running. &lt;/P&gt;&lt;P&gt;I also add results that I obtained. The first results&amp;nbsp; kmz called testdata0 is in correct location but others appears on arctic ocean.. Not sure what is going on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 08:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319519#M11265</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-08-18T08:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319520#M11266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you save the layer file, make sure you store it using relative path names.&amp;nbsp; I think that was the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 15:22:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319520#M11266</guid>
      <dc:creator>AndrewChapkowski</dc:creator>
      <dc:date>2014-08-18T15:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319521#M11267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice, unfortunately, this was not the problem, I saved file with "RELATIVE" but still second runs appears in arctic ocean.. I cannot figure out what is happening., seems like something related to LayertoKML tool&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 05:44:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319521#M11267</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-08-19T05:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319522#M11268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to solve this problem and contacting to Esri Costumer Service in that issue. They told me tool&amp;nbsp; works fine, they do not have any problem. I have been very frustrated&amp;nbsp; 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 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp; and have no idea want is going on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one try the script for me if they have ArcGIS 10.2 version or later ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below I attached a rar&amp;nbsp; it has the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open LayerToKML rar in&amp;nbsp; C:\Temp&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;3. Then by using Python IDLE ( under All programs-ARCGIS) open the test script and run module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will run the inside Outputs and could you please send those to me with a rar file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would greatly appreciate that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 06:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319522#M11268</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-09-11T06:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319523#M11269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I had somebody test this for me with ArcGIS 10.2.1 and it works fine on their program. Now only difference is the fact that I had my ArcGIS with 64 bit bacground-geoprcessing installed. Seems like that might be the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uninstall arcgis and install the software again and still getting same issue.. Maybe uninstalling is not enough to go back to 32bit geoprocessing,is&amp;nbsp; it possible somehow at registry it is still getting paths to run tools from 64 bits ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 19:14:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319523#M11269</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-09-11T19:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319524#M11270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Naime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you ever solve your problem? I have exactly the same. The first kmz-file is in correct location, the other lay around the world. The problem occur only in python scripts. When I convert layer files in ArcMap with the same geoprocessing tool that I use in python, the location of all kmz-files is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Reinhild&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 14:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319524#M11270</guid>
      <dc:creator>AndreasPonn</dc:creator>
      <dc:date>2014-11-24T14:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319525#M11271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, could not solved the problem, the customer service even refusing to accept tthere is a problem. They kept saying they do not have problem when they try on their computer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How ever I am suspicious about &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;64 bit background-geoprocessing, when you install your ArcGIS software, did you install&amp;nbsp; &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;64 bit background-geoproscessing afterward?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 06:42:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319525#M11271</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-11-26T06:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319526#M11272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took a look at your code and gave it a try, but I was never able to get it to run as expected when reading directly from the .lyr file. I modified your code to first create a Feature Layer using the MakeFeatureLayer tool. This worked for me regardless of how many times it looped through the same file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this approach on 3 different boxes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;10.2.2 + 64bit GP - Windows 7 64bit&lt;/LI&gt;&lt;LI&gt;10.1 - Windows 7 32bit&lt;/LI&gt;&lt;LI&gt;10.1 + 64bit GP - Windows 7 64bit&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and in all three cases, the modified script worked, outputting a KMZ with all points in the same location as the original shapefile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this fails to solve your problem, there may be something specific to your environment, or your installation of Python that is causing this issue. You may want to make sure you are running the script with Python 2.7 when using IDLE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 18:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319526#M11272</guid>
      <dc:creator>DavidBlanchard</dc:creator>
      <dc:date>2014-11-26T18:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319527#M11273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your try. I have a additional question. Do you have ARCGIS 64 bit geoprocessing path installed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link below shows a thread about that. &lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/81066/arcgis-10-2-installation-for-64-bit-geoprocessing" title="http://gis.stackexchange.com/questions/81066/arcgis-10-2-installation-for-64-bit-geoprocessing"&gt;ArcGIS 10.2 Installation for 64-bit geoprocessing - Geographic Information Systems Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had that in computer, ArcGIS is going to work with 64 bit instead of default setting of 32 bit and your arcgis python path will be like &lt;STRONG style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;C:\Python27\ArcGISx6410.2&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt; – (64-bit) instead of &lt;/SPAN&gt;C:\Python27\ArcGIS10.2 – (32-bit). &lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;/P&gt;&lt;P&gt;If you have not installed that and your tool is working fine that means&amp;nbsp; I think the problem definitely stems from installing 64 bit geoprocessing ArcGIS patch. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would greatly appreciate if you could let me know if your ARCGIS working as&amp;nbsp; 32 or 64 bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 06:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319527#M11273</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-11-27T06:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319528#M11274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I also just tried the attachment you have added. Only the first results ( FLayer0.kml) in correct location the other two (FLayer1 and FLayer2) appeared in the middle of arctic ocean as I experienced before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 07:36:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319528#M11274</guid>
      <dc:creator>NaimeCelik</dc:creator>
      <dc:date>2014-11-27T07:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319529#M11275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I described in my previous response, I tested it on three computers:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;10.2.2 + &lt;STRONG&gt;64bit GP&lt;/STRONG&gt; - Windows 7 64bit&lt;/LI&gt;&lt;LI&gt;10.1&amp;nbsp; - Windows 7 &lt;STRONG&gt;32bit (therefore no 64bit GP)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;10.1 + &lt;STRONG&gt;64bit GP&lt;/STRONG&gt; - Windows 7 64bit&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;and in all three cases, the modified script worked, outputting several KMZ files with all points in the same location as the original shapefile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be something specific to your environment, or your installation of Python that is causing this issue. You may want to make sure you are running the script with Python 2.7 when using IDLE (it is possible to have several versions of Python running side-by-side).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can always try adding a short delay at the beginning of your loop. This would give Python more time to terminate previous processes and close open files. I would also suggest using a File Geodatabase Feature Class instead of a shapefile given that it's a more modern framework and is the format used by most organizations internally. Lastly, if you are storing/saving data on a network drive, please move it to your local drive as network delayed writing can have a negative impact on GP tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, I'm an end-user like you so I cannot make any IT specific suggestions, which could be the problem given that this is unique to your machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 13:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319529#M11275</guid>
      <dc:creator>DavidBlanchard</dc:creator>
      <dc:date>2014-11-27T13:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319530#M11276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have the same problem. &amp;nbsp;The first time I run my script, the KMZ is fine but the second time the KMZ wrap the world. &amp;nbsp;When I unzip de kMZ, the coordinate of the geometry use bad decimal delimiter.&lt;/P&gt;&lt;P&gt;First run :&amp;nbsp;-72.5123508930792,46.02718407088821,0 -72.89026165964782,45.9512204096942,0 -73.00197113196214,45.60643088717575,0&lt;/P&gt;&lt;P&gt;Second run :&amp;nbsp;-72,5123508930792,46,02718407088821,0 -72,89026165964782,45,9512204096942,0 -73,00197113196214,45,60643088717575,0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to close arcmap, and then open it back and then it works fine for the first run and the second run is bad geometry...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to change the windows local setting to (decimal delimiter) to point and the tool works fine&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't change my local setting permanently. &amp;nbsp;I have to use a comma as a decimal delimiter (french canada).&lt;/P&gt;&lt;P&gt;So I try the python "locale" to change the setting on the fly but with no success.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Francis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319530#M11276</guid>
      <dc:creator>FrancisMoisan</dc:creator>
      <dc:date>2016-10-07T15:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319531#M11277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same problem. My script works fine in arcmap, but when i publish it to server only the first run works. After that, the coordinates are generated with commas. Permanently changing the local setting is not an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to solve the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 08:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319531#M11277</guid>
      <dc:creator>JosephDavies</dc:creator>
      <dc:date>2018-04-25T08:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem  with LayerToKML_conversion tool in python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319532#M11278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;Instead of using the ArcGIS Tool, I made my own export to kml tool in python.&amp;nbsp; In my code there is a&amp;nbsp;section for point, polygon and line (base on what the tool receive as input).&amp;nbsp; I'm not a programmer so the code is not very clean.&amp;nbsp; It's not perfect and I can't bring attribut to kml in my code.&amp;nbsp; The only thing that works is the geometry I draw in flex viewer is exporter to KML nicely.&amp;nbsp; And the selected object can be exported too (but no attribut).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 16:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/problem-160-with-layertokml-conversion-tool-in/m-p/319532#M11278</guid>
      <dc:creator>FrancisMoisan</dc:creator>
      <dc:date>2018-04-27T16:19:39Z</dc:date>
    </item>
  </channel>
</rss>

