Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arcpy.FeatureVerticesToPoints_management(selectFCP, tempPtName, "ALL")
- with arcpy.da.SearchCursor(selectFCP, "SHAPE@") as cursor:
- for row in cursor:
- arcpy.FeatureVerticesToPoints_management(row, tempPoint, "ALL")
- arcpy.SpatialJoin_analysis(tempPoint, tempPtName, tempPtJoin, "", "KEEP_ALL", "", "ARE_IDENTICAL_TO")
- with arcpy.da.SearchCursor("parcel_area_input", ["SHAPE@", field]) as cursor:
- for row in cursor:
- arcpy.FeatureVerticesToPoints_management(row[0], tempPoint, "ALL")
- arcpy.AddField_management(tempPoint, field, "TEXT", "", "", "240")
- arcpy.CalculateField_management(tempPoint, field, "row[1]", "PYTHON")
- arcpy.Append_management("tempPoint", "fixPointsTEST", "NO_TEST")
- with arcpy.da.SearchCursor("parcel_area_input", ["SHAPE@", field]) as cursor:
- for row in cursor:
- exp = "'%s'" % (row[1])
- arcpy.FeatureVerticesToPoints_management(row[0], tempPoint, "ALL")
- arcpy.AddField_management(tempPoint, field, "TEXT", "", "", "240")
- arcpy.CalculateField_management(tempPoint, field, exp, "PYTHON")
- arcpy.Append_management("tempPoint", "fixPointsTEST", "NO_TEST")
Add Comment
Please, Sign In to add comment