Skip to main content

anycluster (POSTGIS version)

https://anycluster.org

anycluster provides Server-Side clustering of map markers for Geodjango. It is suitable for large amounts of markers. Depending on your server and personal feeling, it works very well with 200.000 to 500.000 markers.

The postgis version is recommended. There is a mysql version with limited functionality: https://github.com/biodiv/anycluster-mysql

Documentation

http://anycluster.readthedocs.org/en/latest/

ChangeLog

  • [22.04.2023] anycluster 2.0 (breaking changes, see docs), npm, Django 4.x, updated docs
  • [09.09.2019] support for Django 2.x and above (python 3), added leaflet support
  • [08.10.2015] major code improvements
  • you now need to add {% csrf_token % } somewhere in your template

Features

This application offers 2 methods of clustering:

  • grid-based clustering
  • clustering based on geometric density of the points (needs PSQL extension)
  • cluster contents of any geographic area defined as Polygon/Multipolygon
  • get all elements contained in a cluster

... and has a builtin caching mechanism: if the user pans a map, only the new areas are processed.

And lots of optional customization possibilities:

  • works with OpenLayers, google maps and Leaflet
  • define what happens if you click on a cluster
  • use your own cluster graphics
  • define gridsize and other cluster parameters
  • apply filters to your clusters
  • use specialized markers/pins if count is 1

Performance Tips

  • index your GIS database columns correctly
  • usage of a SSD can be 10-20 times faster compared to HDD

Metadata

Release files for anycluster 2.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anycluster 2.5.0
File Size Uploaded Provenance Actions
anycluster-2.5.0.tar.gz 82.5 kB Without provenance Details for anycluster-2.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anycluster 2.5.0
File Interpreter ABI Platform Actions
anycluster-2.5.0-py3-none-any.whl Python 3 none any Details for anycluster-2.5.0-py3-none-any.whl

Total release size: 174.9 kB

Release files / anycluster-2.5.0.tar.gz

Download URL anycluster-2.5.0.tar.gz
Size 82.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fdc880722e3d132f8e0a59ffb05ecd560b613fe52a64b6365e0aad45f10e7198
BLAKE2b-256 checksum
How to use checksums
e1a60f14b0f767fa66e29331fc36a8b9f8e5781dd54dd22b69e28a7e9a951ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release files / anycluster-2.5.0-py3-none-any.whl

Download URL anycluster-2.5.0-py3-none-any.whl
Size 92.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
086539a6ef9fea5e4f3d9df52fe8a46628fdfc169db8511880c8324ba803af49
BLAKE2b-256 checksum
How to use checksums
2aaac66af27367a9e6b296c560b9f785821be3a41e13443602181b1f58e8efbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Security for anycluster 2.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page