TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.18k stars 364 forks source link

Point clustering #695

Open meh9 opened 9 years ago

meh9 commented 9 years ago

It would be really useful if we could handle overlapping feature points in some way, similar to how other GIS systems will aggregate points that are close to each other and replace them with say a 5 until you zoom in enough to resolve them individually. I'm not advocating any particular solution, but some better way would be good.

We show electricity power stations for Australia using a CSV dataset (because it's near-real time data), and in some cases multiple stations have been built right next to each other. In these cases it isn't possible to see that there are actually two points until you zoom in really really close.

kring commented 8 years ago

Cesium 1.26 has support for clustering billboards, points, and labels: http://cesiumjs.org/2016/10/03/Cesium-version-1.26-released/ I expect it'll be a bit of work to make this work in Leaflet, too.