Skip to main content

Hi all

I have the edges of a road and want to be able to measure the distance between the two edges perpendicular to the left hand edge at a distance every 10 metres.

Any suggestions on how to complete this as I can not get my head around it.

Thanks in advance.

Hi @ingalla

I would suggest to use the IterativeSnipper to generate a point every X distance for both lines and then use the NeighborFinder to find the closest point of the other line. The NeighborFinder also returns the distance to this point.


I agree with @jeroenstiers. I'll just add that if you have a common ID on both road edges, I'd recommend using those as a Group By for the NeighborFinder. This will avoid a lot of problems in e.g. intersections.


Hi @ingalla

I would suggest to use the IterativeSnipper to generate a point every X distance for both lines and then use the NeighborFinder to find the closest point of the other line. The NeighborFinder also returns the distance to this point.

Agreed. I'll just add that if you have a common ID on both road edges, I'd recommend using those as a Group By for the NeighborFinder. This will avoid a lot of problems in e.g. intersections.

 


Hi @ingalla

I would suggest to use the IterativeSnipper to generate a point every X distance for both lines and then use the NeighborFinder to find the closest point of the other line. The NeighborFinder also returns the distance to this point.

Thanks all for your comments / advice

 

 


Reply