HOW TO
In ArcGIS Pro, point features can spatially relate to other geometries, such as polygon features by overlapping or intersecting one another, and can share attributes. The attribute values of the polygon features can be copied to the intersecting point features for further data analysis, for example, naming the point features intersecting the polygons. However, typing the names can be time-consuming if there are many point features, so an Arcade expression can be used to automate this task, and this article provides the workflow. The map below displays the point features within the polygons.
Note: Ensure the data type selected is compatible with the field type of the polygon features. Refer to ArcGIS Pro: ArcGIS field data types for more information.
var polygons = FeaturesetByName($datastore,"POLYGON_LAYER") if (First(Intersects(polygons, $feature)) == null) { return null } else { var feat = First(Intersects(polygons, $feature)) return feat.FIELD_NAME }
The map below shows the intersecting point features named after the polygons in ArcGIS Pro.
Get help from ArcGIS experts
Download the Esri Support App