routing
Capacity-constrained clustering (see module docs).
post/v1/cluster
Request
- Base URL: https://api.mapmap.ai
- URL: https://api.mapmap.ai/v1/cluster
- Auth: one of:
- HTTP bearer
- API key in query parameter api_key
Request body
object required
Response
clusters[] with id, member locations (your ids), count, summed load, centroid and the territory each belongs to; parameters echoing the seed, the cluster count, the iterations run and whether it converged; balance naming the constraint applied and whether it had to be relaxed; and a basis stating that this is straight-line clustering, with the pointer to POST /optimise for road-network order
object required
Changes
No recorded changes to this operation across all 1 revision of this API.