You are here: Basic Steps > 4. Rules > Rule Components > Object Labels

Object Labels

An object label uniquely identifies objects in the same class that are tested against each other in clauses and subclauses of a rule.

Example: Fire station object labels A and B

Check for fire_station objects A that there are at least 5 fire_station objects B for which fire_station:B.geometry is within 10000m of fire_station:A.geometry

The object labels A and B distinguish between the root object and objects found in the subclause, both of which have the same class label fire_station and come from the same class.