Skip to main content
Solved

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


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

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

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

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+67

Looks like voronoi to me. VoronoiDiagrammer generates this.

 

 


ed-progres
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • October 31, 2024

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+69
  • 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
Forum|alt.badge.img+67

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+5
  • Author
  • Contributor
  • November 1, 2024

Thanks guys, it works.

Densifier → Chopper → VoronoiDiagrammer → Dissolver