Quality control examples

The GitHub repository Guiones-Control-Calidad-Python-Digi3D provides controls ready to use and adapt.

Its single guiones.py contains control functions decorated with @quality_control() and dynamic representation rules. Load it under Python environment in the Codes Table Editor, then assign controls to each code.

Examples of checks:

  • A geometry is an area (polygon or closed line) meeting a minimum size.
  • Vertex Z is constant, increasing, decreasing or within a distance of the digital terrain model.
  • Certain relationships between geometries with different codes exist or do not exist.
  • Database field validation for a code.

For writing, declaring and assigning controls, see Quality controls.

Python quality control repository describes every control and dynamic representation rule in guiones.py, with parameters.

Explained examples

Example Check
Detecting vertices with Z above the previous vertex Geometry vertex Z must not increase.