Elektrine lite

← Feed

@amapanda@en.osm.town

Post #1163097

2025-12-01 16:09 UTC

oh boy. with #postpass & #OverpassUltra I can generate heatmaps directly from OSM data. Here's a heatmap of `place` tag's with this query ``` --- type: postpass style: layers: - type: heatmap heatmap-radius: 20 heatmap-weight: ["get", "count"] heatmap-intensity: 0.0001 --- select count(*), geom from ( select ST_SnapToGrid(geom, 0.1) as geom from postpass_point where tags?'place' AND geom && ST_MakeEnvelope(-26, 33, 52, 72, 4326)) t group by geom ``` #OpenStreetMap

Replies (2)