Select to view content in your preferred language

Field Mapping in Spatial Join using Arcpy

1212
1
10-27-2022 02:47 AM
abhishek_shah
Occasional Contributor

Hii ,I am Trying spatial join by intersect3d matchOption Using arcpy in python toolbox ..I have two feature class 

1.TargetFeatures

2.InputFeatures 

In TargetFeatures there is column End_Year and in InputFeatures there is column named Start_Year.

I want to add values of Start_Year column of InputFeatures  to End_Year  column of TargetFeatures when they intersect each other .I have attached the png of both TargetFeature and InputFeature Attribute table ..

Is this can be done using Field mapping in arcpy ?

Thanks You  

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

Did you see the info in 

FieldMappings—ArcGIS Pro | Documentation

there are code examples


... sort of retired...
0 Kudos