I am working with a forest geopackage, in which small forest roads, rocky areas and other surfaces are not included in the forest layer. What I am looking to do is to make all these spaces part of the forest area. I tried with Area gap and overlap cleaner but I didn't get results, because the problem is that there are roads that I would like to keep as such or other surfaces that I don't want to be converted to forest. Any idea how to proceed?
How do you identify the roads etc that you want to keep? Is there a rule that you can can build in FME?
Hi @pabloolivaresm,
I am attaching an annotated workspace template that uses the TopologyBuilder to create arc/node topology, then tests the resulting edges to determine which can be removed to merge the small polygons into the larger ones. Finally, it rebuilds the polygons from the remaining edges. Please try it out and see if it is useful for your case.
How do you identify the roads etc that you want to keep? Is there a rule that you can can build in FME?
Hi, I have a landcover layer, so i just made a tester to keep only the four categories of forest that im interested
Hi @pabloolivaresm,
I am attaching an annotated workspace template that uses the TopologyBuilder to create arc/node topology, then tests the resulting edges to determine which can be removed to merge the small polygons into the larger ones. Finally, it rebuilds the polygons from the remaining edges. Please try it out and see if it is useful for your case.
Hi @daveatsafe, thank you for your response. I will try but i must confese its a little bit confuse. Also, the layer i have it contain just the forest landcover, maybe will not be possible to try your template
Hi, I have a landcover layer, so i just made a tester to keep only the four categories of forest that im interested
An alternative transformer you can try is the AreaAmalgamator. Based on what you're telling me I think that that would probably be a better solution.
Hi @daveatsafe, thank you for your response. I will try but i must confese its a little bit confuse. Also, the layer i have it contain just the forest landcover, maybe will not be possible to try your template
It should work for the forest landcover. Quite a bit of the complexity is to allow you to designate polygons that you don't want merged (ie. road polygons), but you can also set all the the polygons to dissolvable in the AttributeValueMapper, and it will still work OK.
thanks you all, I found another solution before FME processing. The roads its still a problem but its ok for i wanted.