Skip to main content

I have the sea as polygons in an esri shapefile. But now I need to invert this - I need to make polygons of everything that is not sea. How do I do this? I have tried searching for FME help on "inverting polygons" and other related, but no luck, there must be such an transformer though... 🙂 ?

Thanks,

Ben

I would filter out the sea and use the AreaBuilder to create polygons from the rest.


Hi @benjamin, if you need to get continents and islands surrounded by the sea, send the sea polygon to a DonutHoleExtractor. Then, the land areas will be output via the Hole port.

If you need to get an outer donut area surrounding the sea, create an enough large area that contains the sea, then send the large area and the original sea to a DonutBuilder (Drop Holes: Yes) together.


Reply