Skip to main content

Hello, I want to detect errors in my dataset which contains building areas. I want to be secure, that there is no other outer boundary of a building inside an outer boundary except if theres an inner boundary between the to features, like the case if theres another building inside the court yard of building 1. I added a drawing of the case. Which transformer can I use? And how to set it right. I glad for any help :)

 

Thank you.

 

Question 

 

@multimedia​ Try SpatialRelator. You can run all your buildings into both the Requestor & Supplier port Then use Attributes that Must Differ and set that to the building id or something similar - so that the building isn't compared against itself. I'm using Spatial Predicate : Intersects

If there are any _related_candidates, it means your building overlap. The _relationships{} list gives you the details.

I've attached a small example workspace (FME 2020.2)


Reply