Skip to main content

OpenStreetMap Tile Access Images

This software generates heatmaps showing accesses of OpenStreetMap tiles.

Usage

AWS_PROFILE=osm-service-logs osmtileimage

This 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

Options

--layer

Default: raster

Define the layer to query logs for. Valid values: raster, vector

--start

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

--end

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

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.

--prefix

Default: tiles-

Prefix for the image name. May contain / for directories.

--zoom

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.

Improving image size

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

Metadata

Release files for osmtileimage 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osmtileimage 0.1.0
File Size Uploaded Provenance Actions
osmtileimage-0.1.0.tar.gz 4.1 kB With provenance Details for osmtileimage-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for osmtileimage 0.1.0
File Interpreter ABI Platform Actions
osmtileimage-0.1.0-py3-none-any.whl Python 3 none any Details for osmtileimage-0.1.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / osmtileimage-0.1.0.tar.gz

Download URL osmtileimage-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0f96b81bcc1118f396de11463ff91b52661ee153f2071c36e7c170f03fea1ae7
BLAKE2b-256 checksum
How to use checksums
8c0ebfc40beb02eec42e3baf25b1d18412d2a472568c320f32ead52761c0244e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / osmtileimage-0.1.0-py3-none-any.whl

Download URL osmtileimage-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04eb8207742df4881bca14c98c9a98c902c597fe1339c6a6d9253b880eebabaf
BLAKE2b-256 checksum
How to use checksums
d66a20cd31ae681336d260e925ad48c75730cc598d407cb172404b3c8233ace7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for osmtileimage 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for osmtileimage-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page