<?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: Need help running 'layer to kml' tool on a directory location with all of my geotiff images in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/need-help-running-layer-to-kml-tool-on-a-directory/m-p/10983#M908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this could help you:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/de/pro-app/arcpy/data-access/walk.htm" title="https://pro.arcgis.com/de/pro-app/arcpy/data-access/walk.htm"&gt;Walk—Data Access module | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2019 05:32:36 GMT</pubDate>
    <dc:creator>JohannesBierer</dc:creator>
    <dc:date>2019-08-16T05:32:36Z</dc:date>
    <item>
      <title>Need help running 'layer to kml' tool on a directory location with all of my geotiff images</title>
      <link>https://community.esri.com/t5/python-questions/need-help-running-layer-to-kml-tool-on-a-directory/m-p/10982#M907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need assistance modifying the following code to convert a whole folder rather than a single image.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# Local variables:&lt;/SPAN&gt;
SP0013_tif &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"SP0013.tif"&lt;/SPAN&gt;
SP0013_LayerToKML_kmz &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"C:\\Users\\anthonyv\\Documents\\ArcGIS\\SP0013_LayerToKML.kmz"&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Process: Layer To KML&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LayerToKML_conversion&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SP0013_tif&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SP0013_LayerToKML_kmz&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"0"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NO_COMPOSITE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"DEFAULT"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"15000"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"5000"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"CLAMPED_TO_GROUND"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-help-running-layer-to-kml-tool-on-a-directory/m-p/10982#M907</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T20:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help running 'layer to kml' tool on a directory location with all of my geotiff images</title>
      <link>https://community.esri.com/t5/python-questions/need-help-running-layer-to-kml-tool-on-a-directory/m-p/10983#M908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this could help you:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/de/pro-app/arcpy/data-access/walk.htm" title="https://pro.arcgis.com/de/pro-app/arcpy/data-access/walk.htm"&gt;Walk—Data Access module | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2019 05:32:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-help-running-layer-to-kml-tool-on-a-directory/m-p/10983#M908</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2019-08-16T05:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help running 'layer to kml' tool on a directory location with all of my geotiff images</title>
      <link>https://community.esri.com/t5/python-questions/need-help-running-layer-to-kml-tool-on-a-directory/m-p/10984#M909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the 2nd code snippet in the help topic&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/conversion/layer-to-kml.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/conversion/layer-to-kml.htm"&gt;Layer To KML—Conversion toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Identify the workspace (aka, folder) to the *.lyrx or *.lyr files&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 0.85em; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 1.4rem; orphans: 2; overflow-wrap: normal; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;arcpy.env.workspace = &lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;"C:/data"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2019 09:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-help-running-layer-to-kml-tool-on-a-directory/m-p/10984#M909</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-08-16T09:29:50Z</dc:date>
    </item>
  </channel>
</rss>

