Skip to main content
Solved

I want to convert a multipolygon layer in a singlepoint inside layer


Source Origin: Multipolygon layer

Destinity: SinglePoint Layer

 

 

If I use the CenterPointReplacer with the "Any Inside Point" mode checked the result is rejected.

And if I use other of the two modes, the result is a singlepoint outside the ancient multipolygon layer, and I need only one point inside the ancient area.

 

 

Does anyone know the correct way to obtain it?

Best answer by nielsgerrits

One thing you could do is generate an ID for each multipolygon (UUIDGenerator) then explode the collection (DeAggregator), filter out one polygon for each multipolygon (Sampler, group by ID) and send that through the CenterPointReplacer.

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

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • September 7, 2021

One thing you could do is generate an ID for each multipolygon (UUIDGenerator) then explode the collection (DeAggregator), filter out one polygon for each multipolygon (Sampler, group by ID) and send that through the CenterPointReplacer.


  • Author
  • September 7, 2021

OK, thanks!!!!

👍 👍 👍


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