AZP Greedy. A greedy algorithm for automatic zoning procedure (AZP).

The automatic zoning procedure (AZP) was initially outlined in Openshaw (1977) to address some of the consequences of the modifiable areal unit problem (MAUP). In essence, it consists of a heuristic to find the best set of combinations of contiguous spatial units into p regions, minimizing the within sum of squares as a criterion of homogeneity. The number of regions needs to be specified beforehand, as in most other clustering methods considered so far.

The node is based on the package pygeoda and here are related tools and references:


Number of clusters

The number of user-defined clusters.


The seed for the random number generator.

Cluster settings

Geometry column

Select the geometry column to implement spatial clustering.

Bound column for minibound

Select the bound column for clusters with minibound.

Attribute columns for clustering

Select columns for calculating attribute distance.

Minimum total value for the bounding variable in each output cluster

The sum of the bounding variable in each cluster must be greater than this minimum value.

Spatial weight model

Input spatial weight mode.

Available options:

  • Queen: Queen contiguity weights.
  • Rook: Rook contiguity weights.

Input Ports


Geodata for spatial clustering implementation.

Output Ports


Output table with cluster tag.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found


This node has no views


  • No workflows found



You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.