Digital Geography

CSVs and leaflet: the ultimate ressource

When it comes to certain tasks the usage of leaflet can be tricky. Of course it claims not to be the ultimate webmapping solution but one of the sleekest ones. But when it comes to csv files and reading data from them I always found it hard to implement given solutions listed in the plugins section of leaflet.

how to create clustered points in leaflet

The leaflet API is very simple and tries to deliver best performance and style for commonly used features like tilelayers, points and lines and markers in general. So when we would like to visualize points it is possible to have a very large numbers of points. So lets have a look on such an basic example. I’ve created a point shape file with QGIS which has approx. 1.000 points embedded. Let’s have a look on a normal webmap with this density of information: As you can see, we’ve inlcuded a second js file with the point information called points_rand.js. You…