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.
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.
Do the following:
-
Under Data connections, click on your Qlik GeoOperations connection.
-
Under Operation, select Cluster.
-
Under Distance, enter the maximum distance items can be apart from each other in the distance unit.
-
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:
-
Under Tables, select the table to load.
-
Under Fields, select the fields to load.
-
Click Insert script.