Table of Contents
...
This process generates a lines shapefile with one line ('arc') along each border between nodes, and identifies the left and right polygon Feature Identifiers (FIDs) for each line feature. By convention, the outer polygon boundary is always stored in a clockwise direction so while every line will have a polygon on its right; lines on the exterior of the input shapefile will have no polygon on their left. The attribute table indicates these cases with the LEFT_FID = -1.
The remaining processes are completed in ArcGIS Desktop or Pro, regardless of the software environment used above. (Illustrations are for ArcGIS Pro.)
...
- Close the attribute table, remove the join, and establish a new join basing on 'RIGHT_FID'. Anticipate all the lines layer feature records matching. (This is because, unlike the join based on 'LEFT_FID', every feature has a polygon on its right side.)
- Open the output polyline shapefile attribute table.
- Use the Field Calculator to calculate all the RIGHT_An values (for the RIGHT_An files recently added to the polyline shapefile ) equal to the corresponding administrative levels of the polygon shapefile.
- Remove the join.
...