I've got a polyline network and i'm trying to calculate the number of water (polygon) crossings for each polyline.
I'd like to end up with a count associated with each unique polyline.
Is there an easy way to do this using ArcGIS Pro?
I've got a polyline network and i'm trying to calculate the number of water (polygon) crossings for each polyline.
I'd like to end up with a count associated with each unique polyline.
Is there an easy way to do this using ArcGIS Pro?
First I would perform an intersect of water polygons on the polyline network so you would have only the lines that cover water.
Then you can use the Frequency tool (http://pro.arcgis.com/en/pro-app/tool-reference/analysis/frequency.htm) to count how often the unique ID for the polyline occurs, giving you the number of times that unique polyline crosses the water.
An alternative to Liam G's answer above, is doing a Spatial Join and adding a field that counts the number of overlapping features by settings the Merge Rule to count. In Pro,k you would right click the layer > Spatial Join to go to the tool dialogue and in ArcMap you would follow this workflow: https://support.esri.com/en/technical-article/000008877.