Solved

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

  • 7 September 2021
  • 2 replies
  • 1 view

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?

icon

Best answer by nielsgerrits 7 September 2021, 13:59

View original

2 replies

Userlevel 6
Badge +32

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.

OK, thanks!!!!

👍 👍 👍

Reply