Skip to main content
Question

Detect specific error in Dataset

  • January 22, 2021
  • 1 reply
  • 10 views

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 

 

1 reply

Forum|alt.badge.img+2
  • 1891 replies
  • January 22, 2021

@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)