Skip to main content

Cluster

Cluster produces clusters from a point dataset based on geographic closeness between points. The cluster generation is controlled by the distance parameter, which defines how far away a point may be from the cluster it belongs to.

Example of Cluster

A map displaying various points, with grouped points condensed into a single, larger point that displays the total number of points it contains.

Cluster adds the following fields:

  • <dataset key field>: The key field from the input dataset.

  • ClusterID: ID of the cluster the point belongs to.

  • Clusters.ClusterPoint: Center point for cluster.

  • Clusters.PointCount: Number of original points belonging to the cluster.

  • All fields except the key field from the input dataset, prefixed with the dataset name.

  1. Under Data connections, click Select data on your Qlik GeoOperations connection.

  2. Under Operation, select Cluster.

  3. Under Distance, enter the maximum distance items can be apart from each other in the distance unit.

  4. Under Dataset 1, select the type of data source to use in the operation and its parameters.

    The data types and parameters are the same as those in the Load operation. For information on each of the dataset parameters, see:

  5. Under Tables, select the table to load.

  6. Under Fields, select the fields to load.

  7. Click Insert script.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!