I have GIS data in a PostGIS data base and would like to generate a density map and display them on a Leaflet/Google Maps.

Question: What is the recommended/typical method for doing so, without transferring ALL (millions) the data points within the map's viewpoint to the Leaflet/Gmaps map? No user intervention (ie. Import data into ArcGIS to generate the map) should be required unless automation is possible via CLI etc.

Currently using Postgresql/PostGIS as the spatial database and Leaflet on the browser.

enter image description here


1 Answer 1


You can try using middleware such as Geoserver which can generate heatmaps for you: http://docs.geoserver.org/stable/en/user/styling/sld-extensions/rendering-transform.html#heatmap-generation

  • Geoserver looks awesome! Any idea how we can get the value at a specific point on the heatmap? (eg: in the screenshot in original post)
    – Nyxynyx
    Mar 30, 2013 at 4:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.