with arcpy.da.InsertCursor(FeatureClass,["SHAPE@XY","Name","Size"]) as cursor: cursor.insertRow(((-111.0449838888, 32.657),"Name","Size"))
with arcpy.da.InsertCursor(FeatureClass,["SHAPE@","Name","Size"]) as cursor: point = arcpy.PointGeometry(arcpy.Point(-111.0449838888, 32.657),arcpy.SpatialReference(4263)) cursor.insertRow((point,"Name","Size"))
Los miembros que hayan iniciado sesión pueden publicar, seguir las novedades y mucho más. ¿Eres nuevo? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.