Basic Spatial Check

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.

Illustration representing what a point, spatial check, and a polygon look like in the data.

Writing this rule within our rules engine would look as follows:

The Rule used to perform the basic spatial check, finding buildings that contain Fire Station geometry.

We can now run this rule against our data - any data that is found to "fail" the rule is counted as a non-conformance.

The results of the Rule after having been run in a Session.

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 map of Philadephia showing the 6 processed objects, where the one failure is red and the others are green.
The red object from the previous image, zoomed in on to show that the FIRE STATION point is outside of the BUILDING polygon.

The other 5 Fire Stations returned true for our basic rule, but perhaps we can dig deeper and perform a more detailed checkā€¦

Look at some rules

Basic Spatial and Scalar Check map image
Basic Spatial And Scalar Check

Extended Check 50m map image
Extended Spatial and Scalar Check 50m
Extended Check 100m map image
Extended Spatial and Scalar Check 100m
Extended Check 150m map image
Extended Spatial and Scalar Check 150m