<?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 KML to Layer Feature Class in Python Snippets Questions</title>
    <link>https://community.esri.com/t5/python-snippets-questions/kml-to-layer-feature-class/m-p/780221#M144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing a really simple stand alone script. All it does is convert a KML to a feature class,&amp;nbsp; then it lists the feature classes. The issue I am having is I cannot find the feature classes.&amp;nbsp; In ArcPro it shows us as the KML name/Placemarks/Polygon.&amp;nbsp; When I run the script asking for the layer list it returns with empty brackets.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;arcpy
arcpy.env.workspace = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;r"C:\Users\Desktop\SandboxTest\Contour\test2\contours.gdb"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;
&lt;/SPAN&gt;layers = arcpy.ListFiles()
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;layers&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to get it to list my layers?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:48:37 GMT</pubDate>
    <dc:creator>ScottWagoner</dc:creator>
    <dc:date>2021-12-12T08:48:37Z</dc:date>
    <item>
      <title>KML to Layer Feature Class</title>
      <link>https://community.esri.com/t5/python-snippets-questions/kml-to-layer-feature-class/m-p/780221#M144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing a really simple stand alone script. All it does is convert a KML to a feature class,&amp;nbsp; then it lists the feature classes. The issue I am having is I cannot find the feature classes.&amp;nbsp; In ArcPro it shows us as the KML name/Placemarks/Polygon.&amp;nbsp; When I run the script asking for the layer list it returns with empty brackets.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;arcpy
arcpy.env.workspace = &lt;SPAN style="color: #008000; font-weight: bold;"&gt;r"C:\Users\Desktop\SandboxTest\Contour\test2\contours.gdb"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;
&lt;/SPAN&gt;layers = arcpy.ListFiles()
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;print &lt;/SPAN&gt;layers&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to get it to list my layers?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/kml-to-layer-feature-class/m-p/780221#M144</guid>
      <dc:creator>ScottWagoner</dc:creator>
      <dc:date>2021-12-12T08:48:37Z</dc:date>
    </item>
  </channel>
</rss>

