Add your description here
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openstreetmap_downloader-1.1.2.tar.gz.
File metadata
- Download URL: openstreetmap_downloader-1.1.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a81dbf1785a58c942115269137fcfe78915b05a38c88e3f9a19c83cd46275f8c
|
|
| MD5 |
e71027dc4fcd088109f9e84e1b1ad002
|
|
| BLAKE2b-256 |
52a670bfd28643a71412744cd15be50e943c09e198f4ac7d7efbbc7ff1bf5c5a
|
Provenance
The following attestation bundles were made for openstreetmap_downloader-1.1.2.tar.gz:
Publisher:
build.yml on celine-eu/osm-downloader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openstreetmap_downloader-1.1.2.tar.gz -
Subject digest:
a81dbf1785a58c942115269137fcfe78915b05a38c88e3f9a19c83cd46275f8c - Sigstore transparency entry: 685620452
- Sigstore integration time:
-
Permalink:
celine-eu/osm-downloader@17d61861d0f5e2ebd333dd1c544d356cb2151d7b -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/celine-eu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@17d61861d0f5e2ebd333dd1c544d356cb2151d7b -
Trigger Event:
push
-
Statement type:
File details
Details for the file openstreetmap_downloader-1.1.2-py3-none-any.whl.
File metadata
- Download URL: openstreetmap_downloader-1.1.2-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
004f97f428e06e841526bbaa3c70daceaa434f1c62f45936f945cb563d6e8297
|
|
| MD5 |
8a0a8694aeb906a9b98f20d480071498
|
|
| BLAKE2b-256 |
0a978cade15ddb785cdf6e9e2260f9ad95af11d377ac817042c7aa342d8a1207
|
Provenance
The following attestation bundles were made for openstreetmap_downloader-1.1.2-py3-none-any.whl:
Publisher:
build.yml on celine-eu/osm-downloader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openstreetmap_downloader-1.1.2-py3-none-any.whl -
Subject digest:
004f97f428e06e841526bbaa3c70daceaa434f1c62f45936f945cb563d6e8297 - Sigstore transparency entry: 685620455
- Sigstore integration time:
-
Permalink:
celine-eu/osm-downloader@17d61861d0f5e2ebd333dd1c544d356cb2151d7b -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/celine-eu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@17d61861d0f5e2ebd333dd1c544d356cb2151d7b -
Trigger Event:
push
-
Statement type: