Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Read OSM Express (.osmx) database files.

Project description

A Python package to read OSM Express (.osmx) database files.

Right now, only access to nodes, ways and relations by ID is supported.


pip install osmx


import sys
import osmx

env  = osmx.Environment('your_database.osmx')
txn = osmx.Transaction(env)
locations = osmx.Locations(txn)
nodes = osmx.Nodes(txn)
ways = osmx.Ways(txn)

way = ways.get(123456)

for node_id in way.nodes:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for osmx, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size osmx-0.0.3-py3-none-any.whl (2.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size osmx-0.0.3.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page