I'm having a hard time getting off the ground with this, and am trying to move away from ArcGIS / arcpy.
I have a shapefile with a network of polylines. I want to find/count all 2-way intersections, 3-way intersections, 4-way, etc. This would involve, I think:
splitting all lines at intersections
deleting identical segments (with some spatial tolerance)
create points at the end of each new line segment
buffer the line ends, and count the number of points near/at each line end
I would like to do this in a python script. Is this overall plan easily implementable in pyQGIS? An outline of the calls I would be using would be very helpful.