Read OSM Express (.osmx) database files.
Project description
A Python package to read OSM Express (.osmx) database files.
Installation
pip install osmx
Usage
examples/read_way.py : Simple program: given a way ID, print the coordinates of its member nodes, its metadata and all the relations it directly belongs to.
examples/web_server.py Uses only the Python standard library; starts an HTTP server that takes a url like /way/WAY_ID and returns a GeoJSON feature for that OSM object. Shows example of how to descend into relation members.
examples/augmented_diff.py Creates an augmented diff similar to those implemented by Overpass API, but limited to a single OsmChange (.osc) replication sequence file. Requires that the OSMX database represents the replication sequence state directly before that of the .OSC file.
Project details
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
File details
Details for the file osmx-0.0.5.tar.gz
.
File metadata
- Download URL: osmx-0.0.5.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.11.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19c546c852af6a076cdb649001564ff4d4d1cf51da3f70ea51dfa5998ecb11ea |
|
MD5 | 1f39be562b3c146d54d94040ef7bb78b |
|
BLAKE2b-256 | 3eca079124525d8ce075ba4b34428f9ac495431978771a9f88ae052dea63e8e2 |
File details
Details for the file osmx-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: osmx-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.11.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a2b7ec1045bc15798395f0e509621f802d1fbb0ea9bc98442850e9c32be8e4b |
|
MD5 | 3629bed02890f5c7b3f02b282d58dacb |
|
BLAKE2b-256 | a6399c49089f1a014181fa32e808d666bba44104ea4246e6a39c3e961bae16c3 |