Convert from Feature Collection to Feature Class

445
0
02-28-2020 11:21 AM
SteveScott
New Contributor III
# I search for a map:
search_result = gis.content.search("title:{}".format(title) )
mp =  [item for item in search_result if item.title == title][0]
#I get the layers from the item
answer =  mp.layers[0]
#answer is a feature collection not a feature layer. So when I call: 
 with arcpy.da.SearchCursor(answer, where_clause=""field_names=column_list) as cursor:
#I get the error "in_table' is not a table or a featureclass"
#How do I convert from a feature collection to feature class? What is the difference?
0 Kudos
0 Replies