How to Plan Clusters

The PTV xCluster server allows you to plan and change clusters and cluster centres based on locations. Locations are for example customer addressesAn address is a textual specification of a location, which consists of different optional parts, e.g the country, state, postal code, one or more localities, street and house number.. A cluster can be a smaller administrative area unit such as a postcode area. Common use cases are in the management of sales representatives, the planning of warehouse locations and their delivery areas and in delivery planning.

The use case plan clusters is used when there is a new area for which clusters should be calculated. It calculates the optimal distribution of the given locations to the specified number of clusters. The result are the clusters and their assigned locations. Each location can only be assigned in one cluster. The cluster center is the coordinate of the calculated middle of the cluster.

The terminology for cluster planning

Additional information

  • The PTV xCluster server does not include geographical functions. For example the geometry of clusters cannot be returned in WKB form.

Benefits

Simple cluster planning with PTV xCluster server offers a range of possibilities

  • Planning balanced clusters like according revenue potential or number of households.
  • Creating clusters which are geographically compact, based on actual kilometers by road and travel times. To reduce travel time and maximise time with the customer.
  • Quick simulation of various planning scenarios ("What would happen if" cases).

Prerequisites

Programming Guide

In this simple example only locations with their coordinates and the activity are specified in the planClusters request. We would like two clusters which are set in the planClustersOptions. They have the default values. For this calculation the direct distance without a distance matrix or a road network will be used:

Related Topics

The following topics might be relevant for this use case.

  • See the other use case documentations of cluster planning.
  • See route locations documentation for details of the locations.
  • Use Distance Matrices for a faster calculation.