Skip to main content
Question

How to create polygons from 100m railway segments.


martijnccc
Participant
Forum|alt.badge.img+1

I have a shape file containing for each 100m a line segment representing a 100m segment of a railway line. I would like to create for each line segment a buffer polygon that has no overlap with neighbouring buffers in railway lines to corner.

 

Creating an indivdual buffer for each 100m line segment results into the following buffers:

Scherm­afbeelding 2023-12-22 om 10.07.09As you can see the buffers are having gaps wen the line is cornering.

 

In order to avoid the gaps I created a single line using the LineCombiner and then using the Bufferer to create a single polygon. Next step would be to 'cut' this single polygon into polygons with a length equal to the original 100m line segment.

 

Following the result of the LineCombiner and the Bufferer:

Scherm­afbeelding 2023-12-22 om 10.11.48Does anybody have an idea on how to cut this long polygon into 100m polygons?

 

2 replies

joepk
Influencer
Forum|alt.badge.img+20
  • Influencer
  • December 22, 2023

Could the Chopper be of use to you? I have tried this with a simple buffered arc feature. The edges between the features seem to connect nicely but the length of the different created features is not the same, so I'm not too sure if it could apply to your data.

image 

You could also try to use the Clipper to clip the 100m buffered segments from the long polygon and dissolve the slices you are left with to the neighboring segments.


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • December 25, 2023

Great solution


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