I have been trying to connect start points and end points of guard rails along the sides of roads. Of course, this is more complicated than converting points to lines because I need to prevent the lines from crossing roads but keep them as close to the roads as possible when the roads are not perfectly straight.
I was wondering if it is possible to do this with a Least Cost Path model. Is LCP capable of connecting multiple start points with multiple end points based on an ID field?
This would allow me to assign very high costs to roads, lower costs to the area within 1 metre of roads, and higher costs as you go further away from the road. I have about 3400 start and end points for the guard rails.
Also, if anyone has any better ideas of how to do this workflow, I would be grateful for any advice.