Using a python script I need to figure out how split an line segment across the road and get its classification. Using my parcel data I need to calculate the segments values of adjacent polygons base on a classification. I used the intersect tool to get the initial segments. My problem is where the road is at. Anyone have any ideas how to handle this in a script?
See attached image. The pink line needs to be split at the perpendicular intersection of the light and dark green polygons, and classified based on their values.
Please note the shapes will not always be nice and squared. Also this script is for ArcGIS Pro.