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"))
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.