You are here: Basic Steps > 2. Data Stores > Performing Automatic Validation

Performing Automatic Validation

You can enable or disable the Allow invalid geometries option when specifying input details for data stores (see Input Connection). This disables automatic validation of geometry, so that you can manually check the validity of data imported from the data store.

Note: You can disable automatic validation on all data store types supported in 1Integrate.

By alerting you to “dirty” data rather than automatically discarding it during the import, you can decide whether or not the geometry is suitable for use in 1Integrate.

Invalid geometries include data that does not contain any geometries (NULL geometries), lines with only a single point, and area geometries that do not satisfy the is_valid built-in function.

Area geometries that are invalid include:

  • Outer rings that do not enclose inner rings
  • Self-touching rings
  • Rings that intersect other rings
  • Rings containing duplicate points

You must run a rule check task to identify the geometries in the imported data that are invalid. You can then run an action to remove the invalid geometry.

Alternatively, you can perform an analysis on the data to check which geometries are incorrect and how many errors are received by running a rule check only.

You can use a combination of actions and output mapping details to write the objects with invalid geometries to a new target for further analyses.