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.2.1

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.2.1
File Size Uploaded Provenance Actions
osmtileimage-0.2.1.tar.gz 347.3 kB With provenance Details for osmtileimage-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 364.0 kB

Release files / osmtileimage-0.2.1.tar.gz

Download URL osmtileimage-0.2.1.tar.gz
Size 347.3 kB
Tags Source
SHA-256 checksum
How to use checksums
afcccadc4c095f7d7430236e92f6994ac46cfb424284f5707971d3edc1457967
BLAKE2b-256 checksum
How to use checksums
2f16d1d642ec122a0dc1903a9dc3dc5ffa93170123143b2531eb2fa716434ffc
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 11, 2026.

Transparency log

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

Download URL osmtileimage-0.2.1-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eff16da23f59ae2db755d51e07da7e467051c9ef7985a1e50eb1c2b9cfb33522
BLAKE2b-256 checksum
How to use checksums
59f2bb79540d03702db680a370eccb4a8cd48e6f4c0a88bb287f7cde045e0c4d
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 11, 2026.

Transparency log

Security for osmtileimage 0.2.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for osmtileimage-0.2.1.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 11, 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.2.1 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