This software generates heatmaps showing accesses of OpenStreetMap tiles.
AWS_PROFILE=osm-service-logs osmtileimageThis will generate a 4096x4096 px image showing raster tile requests for the most recent hour that data is available for and save it as tiles-YYYY-MM-DD-HH.png
Default: raster
Define the layer to query logs for. Valid values: raster, vector
Default: The most recent hour which has aggregated logs
Timestamp to start image generation at, inclusive. Truncated down to a 1 hour resolution.
Only periods that have been aggregated by ofastlylog can have images generated
Default: The most recent hour which has aggregated logs
Timestamp to end image generation at, inclusive. Truncated down to a 1 hour resolution.
Only periods that have been aggregated by ofastlylog can have images generated
Max value for the color scale. By default the max value is the maximum value found in the data but when comparing images from different times you want a fixed maximum.
Default: tiles-
Prefix for the image name. May contain / for directories.
Default: 12 osmtileimage will restrict the query to this zoom and higher and convert all tile views to views at this zoom.
The image will be 2zoom pixels in both directions.
If sending images to other it can help to run them through oxipng. This cuts the size down to about a third of before. A good set of options is
oxipng --zc 12 -f 0,9 --fast -p -a tiles-*.png