Skip to main content

convert map data from OpenStreetMap to network files in GMNS format

Project description

OpenStreetMap (OSM) is a free, open-source, editable map website that can provide free download. osm2gmns, as a data conversion tool, can directly convert the OSM map data to node and link network files in GMNS format. Users can convert and model drivable, walkable, railway, or aeroway networks with a single line of Python code.

Installation

pip install osm2gmns

If you meet installation issues, please refer to the user guide for solutions.

Simple example

Get network from osm file and conduct intersection consolidation

>>> import osm2gmns as og

>>> net = og.getNetFromOSMFile('map.osm')
>>> # for large networks, getNetFromPBFFile() is recommended
>>> og.outputNetToCSV(net)

Visualization

You can visualize generated networks using NeXTA or QGis.

User guide

Users can check the user guide for a detailed introduction of osm2gmns.

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

osm2gmns-0.5.2.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osm2gmns-0.5.2-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

Details for the file osm2gmns-0.5.2.tar.gz.

File metadata

  • Download URL: osm2gmns-0.5.2.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for osm2gmns-0.5.2.tar.gz
Algorithm Hash digest
SHA256 2ca356050c58c703917ebf8882ecccf75c084c61d4a6547ae1b5c4718d94a24a
MD5 c40d575235deefbcd0334f07072d86e7
BLAKE2b-256 4b6e853a25d0a71f0e16b222e044e5092c0309f25396e32d9a4f1eaa1a18d5a9

See more details on using hashes here.

File details

Details for the file osm2gmns-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: osm2gmns-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 42.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for osm2gmns-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85f037295f2ccde1c8b1e694b51d8f3ce83553ada8289d37ce969e242b52fe6f
MD5 8e1f8000b8fd6159681c190660ff0226
BLAKE2b-256 8d5dec451cf15dd07610cd3adb94134e364fa7e876d30cc4219b90dff323247d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page