com7Regional.splitInputs.checkFeatureIsolation

checkFeatureIsolation(geometries, properties, bufferSize, groupName)[source]

Check if any feature in the group is isolated from all others.

A feature is considered isolated if its buffered bounding box does not overlap with any other feature’s buffered bounding box in the group.

Parameters
  • geometries (list) – List of geometry objects to check

  • properties (list) – List of dictionaries containing properties for each geometry

  • bufferSize (float) – Buffer size to use when creating bounding boxes

  • groupName (str) – Name of the group, used for error messages

Raises

ValueError – If any feature is isolated from all others in the group