First, we might want to check that the Fire Station points are located within a Building.
We could create a simple rule that checks that each Fire Station point is contained within at least one building polygon.
Writing this rule within our rules engine would look as follows:
We can now run this rule against our data - any data that is found to "fail" the rule is counted as a non-conformance.
This rule returns false, after finding that one fire station is not contained by any building polygon (we can see 6 objects are checked and that 83.3% are conformant).
The other 5 Fire Stations returned true for our basic rule, but perhaps we can dig deeper and perform a more detailed checkā¦