Skip to main content

Hi,

I am currently working on a project where I am trying to identify non exact overlapping polygons. For example the polygons in the first image below would be highlighted as they overlap but not exactly. In the second image the polygons would be ignored as they are an exact overlap of each other:

I tried using the matcher to remove the exact copies followed by the spatialrelator but this seemed to return polygons which don't overlap or intersect with any other polygons.

If anyone could provide any advice on the best way of doing this that would be great. If there is any further information I can provide please let me know.

Thanks for your help.

Thanks,

Charlie

I did the Matcher and SpatialRelator approach as well, but supplied a unique id attribute for each feature and specified in the SpatialRelator that that had to differ. This prevents a feature to check for any spatial relationship with itself.

The predicates I tested for were CONTAINS, TOUCHES and WITHIN, but not EQUALS (though that shouldn't happen anyway, that's what the Matcher is for)


I think the SpatialRelator with the "Overlaps" predicate does the trick. Send all the polygons to both Requestor and Supplier ports simultaneously.

See here to learn more about Spatial Predicates: Spatial Relations Defined


Hi,

I used an AreaOnAreaOverlayer first, and used the new created polygons ( _overlaps > 1 ) as filter for the SpatialFilter where I used "Filter is within Candidate".


I think the SpatialRelator with the "Overlaps" predicate does the trick. Send all the polygons to both Requestor and Supplier ports simultaneously.

See here to learn more about Spatial Predicates: Spatial Relations Defined

This won't report this sort of overlap, which may or may not be important

 


This won't report this sort of overlap, which may or may not be important

 

According to the definitions of spatial predicates, this is "Contains" or "Within", and is not "Overlaps". If you need to detect "Contains" and "Within" (but not "Equals") too, the workflow has to be modified of course.

 


According to the definitions of spatial predicates, this is "Contains" or "Within", and is not "Overlaps". If you need to detect "Contains" and "Within" (but not "Equals") too, the workflow has to be modified of course.

 

Agree it's not an overlap according to spatial predicates but in day to day language this is often referred to as an overlap in my experience

 

 


Reply