KML to Layer Feature Class

212
0
07-23-2018 07:05 AM
ScottWagoner
New Contributor III

I am writing a really simple stand alone script. All it does is convert a KML to a feature class,  then it lists the feature classes. The issue I am having is I cannot find the feature classes.  In ArcPro it shows us as the KML name/Placemarks/Polygon.  When I run the script asking for the layer list it returns with empty brackets.  

import arcpy
arcpy.env.workspace = r"C:\Users\Desktop\SandboxTest\Contour\test2\contours.gdb"

layers = arcpy.ListFiles()
print layers

Any ideas on how to get it to list my layers? 

Tags (1)
0 Kudos
0 Replies