Skip to main content
Question

LineOnAreaOverlayer to split areas ...Road Edges

  • January 8, 2017
  • 9 replies
  • 45 views

Dear All

I need your help , i have now polygon represent road edge for big area as one feature (one record in the database ) and i have road center line as segment(line) , my question is how i can split the polygon (edge of the road) based on the the road center line segment ...so kindly advice , see the below pic

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.

9 replies

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • January 8, 2017

Hi @najedjamal my initial idea would be to buffer the center lines, extract the buffer's bounding box and use that to clip the roads polygon.

No doubt there are other ways to deal with this.

Hope this helps.


  • Author
  • 15 replies
  • January 9, 2017

Dear Itay

Thanks for your response actually i am keen to clip the road edges complitly without losing any kinds of geometry , in your sol whan i created the buffer (Automatic) the generated buffer if not match 100% with the road edges (layer) see the below pic ..

Thanks


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • January 9, 2017

Dear Itay

Thanks for your response actually i am keen to clip the road edges complitly without losing any kinds of geometry , in your sol whan i created the buffer (Automatic) the generated buffer if not match 100% with the road edges (layer) see the below pic ..

Thanks

It should be easy find the closest buffered road nearby the corner and then dissolve the corner to the road? The only hard part is to make the correct match.

 

 


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • January 9, 2017

would increasing the buffer amount solve it? If you create big enough buffers and bounding boxes the so that the edges fall within(see your first image) will that be the solution?


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • January 9, 2017

Replace the Road Edges by lines (GeometryCoercer).

Then rebuild the polygons (AreaBuilder) using both lines from Road Edges and Centerlines.

This should create the polygons you need.


Forum|alt.badge.img+2
  • 1891 replies
  • January 9, 2017
You might have to combine the buffer and coercer ideas from itay and eric_jan depending on the output you need. Do you need the left right curbs for each block or for each street (split at each intersection)?

 

 


anamanvil
Forum|alt.badge.img
  • 40 replies
  • November 3, 2020

@najedjamal​ where you able to find a workaround for this? I am trying to do something similar, splitting polygon by line segment while keeping the polygon geometry intact.


kailinatsafe
Safer
Forum|alt.badge.img+23
  • Safer
  • 720 replies
  • November 3, 2020

Hello @anamanvil​, I noticed the above comments hold a lot of useful tips and transformers for this! Have you had any success with the suggestions above? This comment thread also deals with a similar scenario, which has many proposed solutions.


anamanvil
Forum|alt.badge.img
  • 40 replies
  • November 3, 2020

Hello @anamanvil​, I noticed the above comments hold a lot of useful tips and transformers for this! Have you had any success with the suggestions above? This comment thread also deals with a similar scenario, which has many proposed solutions.

Hi @kailinatsafe​, thanks for the help. Yes, I saw this earlier and was asking @najedjamal​ what was the option he went for. Unfortunately this logic did not work for my scenario because the polygon is not a buffer of the center line, is irregular, and therefore I cannot predict how far from the center line the boundaries of the polygon will be.

 

I have also taken a look at the thread you mentioned but had no success while replicating it. As the center line segments do not intersect with the polygon, I just end up with different features and just the same polygon when using Area Builder.