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.
Best answer by jeroenstiers
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.
Did this help you find an answer to your question?
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
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.
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.
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
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.
Page 1 / 1
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.
jeroenstierswrote:
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.
jeroenstierswrote:
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.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.