I have a polyline layer with a few thousand lines within. I want to split these lines into segments but cannot find a way of doing so.
I tried running 'Generate points along lines' and then using 'Split lines by points', however this method is splitting my lines into too many segments. I think when I set the search radius the tool is using points that are on the other lines in the layer to split; but if I lower the search radius the tool won't pick up all the points along the line to split it correctly.
I have seen there's a technique to doing this with the editor toolbar, however I need to generate the python script for the tool, and from what I've seen there is no script for this method of splitting.
I'm using ArcMap 10.5.1
Anyone any ideas? Thanks.