Skip to main content
Solved

Polygon overlap cleaning, factoring in related point assets

  • December 17, 2019
  • 2 replies
  • 29 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.

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

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


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