Skip to main content

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.

Metadata

Release files for osmx 0.0.5

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

Source distribution (sdist)

Source distribution for osmx 0.0.5
File Size Uploaded
osmx-0.0.5.tar.gz 2.9 kB Details

Built distribution (wheel)

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

Total release size: 6.1 kB

Release files / osmx-0.0.5.tar.gz

Download URL osmx-0.0.5.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
19c546c852af6a076cdb649001564ff4d4d1cf51da3f70ea51dfa5998ecb11ea
BLAKE2b-256 checksum
How to use checksums
3eca079124525d8ce075ba4b34428f9ac495431978771a9f88ae052dea63e8e2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / osmx-0.0.5-py3-none-any.whl

Download URL osmx-0.0.5-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a2b7ec1045bc15798395f0e509621f802d1fbb0ea9bc98442850e9c32be8e4b
BLAKE2b-256 checksum
How to use checksums
a6399c49089f1a014181fa32e808d666bba44104ea4246e6a39c3e961bae16c3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

3 release files

0.0.3

3 release files

0.0.1

2 release files

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