Skip to main content
Solved

Polygon overlap cleaning, factoring in related point assets

  • December 17, 2019
  • 2 replies
  • 71 views

Forum|alt.badge.img+1

Dear learned friends,

 

I am attempting to automate the cleansing of a polygon dataset that contains a large number of overlaps. I have managed to identify where instances or overlap occur by using the AreaGapAndOverlapCleaner transformer and then overlaying the output from this against the original data set.

I also have a point geometry dataset that contains an attribute linking it to a parent polygon. Many of these points reside within the identified overlapping areas.

I now need to 'cleanse' the overlaps within the polygon dataset, but need to apply some intelligence to the process so that the assets within the overlap instance are retained within the correct parent polygon.

Hopefully the simplified attached picture will explain this - the red and the blue polygons are overlapping, and the point assets (black dots) within this overlap contain an attribute stating that they relate to the red polygon.

Thanks,

RB

Best answer by bwn

Perhaps resolve the overlaps with AreaOnAreaOverlayer first, which in the above example would split the shapes into 3 areas, the Exclusively Red Part, the Exclusively Blue Part and the Common Area Part shared by Red and Blue.

The Common Area can then be attributed with the "Red" attribute using PointOnAreaOverLayer or SpatialRelator.

Then use Dissolver with Group By set to the Red/Blue Identifier Attribute. This will resolve the areas back into 2 areas Red and Blue, with Red recombining back into its original shape, and the Blue trimmed off by the Red overlap.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.

2 replies

bwn
Evangelist
Forum|alt.badge.img+26
  • Evangelist
  • Best Answer
  • December 17, 2019

Perhaps resolve the overlaps with AreaOnAreaOverlayer first, which in the above example would split the shapes into 3 areas, the Exclusively Red Part, the Exclusively Blue Part and the Common Area Part shared by Red and Blue.

The Common Area can then be attributed with the "Red" attribute using PointOnAreaOverLayer or SpatialRelator.

Then use Dissolver with Group By set to the Red/Blue Identifier Attribute. This will resolve the areas back into 2 areas Red and Blue, with Red recombining back into its original shape, and the Blue trimmed off by the Red overlap.


Forum|alt.badge.img+1
  • Author
  • December 17, 2019

Thanks @bwn, that helps me a lot