Skip to content

Heatmap existing tools issue 21

Miłosz Smolarczyk requested to merge Heatmap_existing_tools_issue_21 into main

I've created a Python script to generate heatmaps from the sample data provided in issue #19 (closed). This script reads the input data, processes it to create a grid, and generates a heatmap as a PNG file, which can be used as an image overlay in the Leaflet element.

Key Steps Implemented:

  • Read Sample Data: The script loads the input data (selected_stops.json).
  • Generate Heatmap: A contour-based heatmap is generated using Matplotlib with adjustable transparency and color schemes.
  • Image Overlay: The heatmap is saved as a heatmap.png file, which can be applied as a PNG overlay in Leaflet.

Merge request reports