Skip to main content

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

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.


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


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.

 

 


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?


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.


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)?

 

 


@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.


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.


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.


Reply