Hello,
I'm using jupyter notebooks (localhost, not in pro or AGOL), and I want to convert a feature layer to point. I've been trying to do it using arcpy.FeatureToPoint_management() but I'm having some issues:
parcels_id = 'the id'
# get layer
parcels = gis.content.get(parcels_id)
# get the required layer
parcels_layer = parcels.layers[0]
# variables
inFeatures = parcels_layer
outFeatureClass = i dont know how to address this part
# feature to point
arcpy.FeatureToPoint_management(inFeatures, outFeatureClass, "INSIDE")
For the outFeatureClass, how can I do it to save it in a folder i have in my AGOL? is the inFeatures ok?
Thanks