Example: Checking for invalid Geometries

In this example, you create a rule that checks objects to ensure that a road contains valid geometries.

An example screenshot of a rule to check valid geometries

A rule to check valid geometries

  1. On the Rules page, click the Rule Condition tab. Select the folder in which you want to create the new rule and ensure that Auto-Assist is selected.
  2. Click New and Rule. Click the Rule Condition tab.
  3. Set up the ROAD class on the root node.
  4. Click and select Condition then Comparison.
  5. Select the first <<value>> and select Built-in Function from the Type list.
  6. Select Geometric is_valid from the Function list.
  7. Select the <<value>> below this function, and choose Dynamic Value from the Type list.
  8. Select ROAD as the class, and geometry as the Attribute.
  9. Select <<Relationship>> and choose Scalar Relationship from the Type list.
  10. Select Equal from Type.
  11. Select <<value>> at the end of the list and choose Static Value from the Type list.
  12. Select Boolean from Datatype.
  13. Select True from Value.
  14. Click Save.