Skip to main content

openstreetmap-downloader

Downloads OpenStreetMap data by configurations

Setup

# Install dependencies
uv sync

Usage

# Run importer
uv run -m osm_downloader.main

Usage from python

from osm_downloader import osm_download

osm_download()

Configuration

Check osm_config.yaml for a configuration example.

This examples creates a file ./data/borgo_vals/parking.geojson with all records matching the properties in groups.parking (parking areas and EV charging stations).

areas:
  - name: borgo_vals
    place: "Borgo Valsugana, Trentino"
    groups:
      parking:
        - key: "amenity"
          value: "parking"
        - key: "amenity"
          value: "parking_space"
        - key: "amenity"
          value: "charging_station"

A .env file can be used to control those variables

# base path where to save downloaded data
DATA_DIR=./data

# path to config file
CONFIG_PATH=./osm_config.yaml

License

Licensed under Apache-2.0 see LICENSE

Metadata

Release files for openstreetmap-downloader 1.1.3

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

Source distribution (sdist)

Source distribution for openstreetmap-downloader 1.1.3
File Size Uploaded Provenance
openstreetmap_downloader-1.1.3.tar.gz 9.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for openstreetmap-downloader 1.1.3
File Interpreter ABI Platform
openstreetmap_downloader-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 kB

Release files / openstreetmap_downloader-1.1.3.tar.gz

Download URL openstreetmap_downloader-1.1.3.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b6685be9a55130ee35ce46799f4837206bd933a2c864f76e728b2eb23e88fd3c
BLAKE2b-256 checksum
How to use checksums
44f3d95ddf0156aff24d616e76a4c09d8118669a238976b57f615d3d7152874e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 9, 2025.

Transparency log

Release files / openstreetmap_downloader-1.1.3-py3-none-any.whl

Download URL openstreetmap_downloader-1.1.3-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
593ebcad350b23df2b5850301f4798449337e63a814f0cce6b1a6995181d5d39
BLAKE2b-256 checksum
How to use checksums
7cfc96d599222cf370fa247f35aee2075860eb2180d35812f8d6d6ea08233798
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 9, 2025.

Transparency log

Security for openstreetmap-downloader 1.1.3

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 openstreetmap_downloader-1.1.3.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 9, 2025.

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

1.1.3 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