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
  • 61 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?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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+59

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+57
  • 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+59
  • 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