Skip to main content
Solved

How to replicate this? (convert line to polygon and inflate it until it touches the adjacent polygon )

  • October 30, 2024
  • 5 replies
  • 58 views

ed-progres
Contributor
Forum|alt.badge.img+1

Hi FME ninjas.

I'm trying to replicate this end result:


These are city streets, they started as line objects and have been converted into polygons.

I'm guessing the workflow is as follows:
- Convert street lines with a buffer into a polygon
- Inflate those polygons until they touch an adjacent polygon
- ???
- Proft! 😀


But I don't have a clue how to do this or what transformers I need.
Who can help me out creating this workflow?
​​​​​​​Thanks.

 

 

 

Best answer by nielsgerrits

ed-progres wrote:
nielsgerrits wrote:

Looks like voronoi to me. VoronoiDiagrammer generates this.

 

 


Indeed, it looks quite similar.

Niels, any tips on how I can convert the street lines to points?
 

Densifier and Chopper.

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

5 replies

nielsgerrits
VIP

Looks like voronoi to me. VoronoiDiagrammer generates this.

 

 


ed-progres
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • October 31, 2024
nielsgerrits wrote:

Looks like voronoi to me. VoronoiDiagrammer generates this.

 

 


Indeed, it looks quite similar.

Niels, any tips on how I can convert the street lines to points?
 


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • October 31, 2024

Maybe somethiing like this:

  1. Add a unique ID to each line (if they don't have one yet) with a Counter
  2. Get all points from the lines with a Chopper
  3. Use the VoronoiDiagrammer to create polygons
  4. Combine the polygons with the same ID with a Dissolver

 


nielsgerrits
VIP
  • Best Answer
  • October 31, 2024
ed-progres wrote:
nielsgerrits wrote:

Looks like voronoi to me. VoronoiDiagrammer generates this.

 

 


Indeed, it looks quite similar.

Niels, any tips on how I can convert the street lines to points?
 

Densifier and Chopper.


ed-progres
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • November 1, 2024

Thanks guys, it works.

Densifier → Chopper → VoronoiDiagrammer → Dissolver


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