Skip to main content
Solved

calculate Perpendicular distance between road centerline to property polygon


f.kemminje
Contributor
Forum|alt.badge.img+11

I have a road center line and private properties beside(left and right) to road center line.

I want to find out the distance between the road centerline and private properties (perpendicular to the road centerline)

both the sides(left and right) for every kilometer.

 

  • Generate points along the road centerline for each kilometer
  • Calculate perpendicular distance from a point to private property polygons(left and right)tosafe_pri
  • Add attribute left1=min distance (left property polygon and right1=min distance to private property right side

Best answer by nielsgerrits

f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

I still think you should do it the other way around, using buildings as Bases and centerlines as Candidates.

 

But if you want to do it this way you can generate the interval you need using a densifier and a chopper. Then create perpendicular lines using the 2DVectorCalculator from the Hub. Then clip away the parts you do not need using the buildings and keep the parts touching the centerline.2022-08-02_15h25_37

View original
Did this help you find an answer to your question?

10 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

One way to do this is to use the NeighborFinder. Chop the property area's to points and find the two closest points to the centerline.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • August 2, 2022
nielsgerrits wrote:

One way to do this is to use the NeighborFinder. Chop the property area's to points and find the two closest points to the centerline.

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline


nielsgerrits
VIP
Forum|alt.badge.img+54
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

I think it works because the closest distance from the building to the centerline has to be perpendicular? Something like attached workspace? The only time it is not perpendicular is when the centerline is shorter than the building?


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • August 2, 2022
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

Hi Capturesafe@nielsgerrits​ Thanks for the quick response and workspace. but my case is different, the surveyor goes to

each point(for ex: every mile interval) and checks what is the perpendicular property and how far it is from the road. neighbor finder catches the nearest property not the perpendicular one.

And I don't need distance for each property(need for interval points)

The attached image will give you a clarity

 


nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • August 2, 2022
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

I still think you should do it the other way around, using buildings as Bases and centerlines as Candidates.

 

But if you want to do it this way you can generate the interval you need using a densifier and a chopper. Then create perpendicular lines using the 2DVectorCalculator from the Hub. Then clip away the parts you do not need using the buildings and keep the parts touching the centerline.2022-08-02_15h25_37


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • August 3, 2022
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

@nielsgerrits​ Thank You very much.


nielsgerrits
VIP
Forum|alt.badge.img+54
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

Cheers :)


ladisrikanta123
Participant
Forum|alt.badge.img
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

@nielsgerrits​ Hey thanks for the neighbor finder method. But i am having some issue with feature merger transformer. Can you pls tell how it will work

 


ladisrikanta123
Participant
Forum|alt.badge.img
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

not able to merge road and building correctly

 


ladisrikanta123
Participant
Forum|alt.badge.img
f.kemminje wrote:

@nielsgerrits​  I tried neighbor finder But it did not help in this scenario. Because I need perpendicular property to the road centerline

@nielsgerrits​ Hey how to merge it if i have too many roads


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings