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.3.3.tar.gz (29.1 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.3.3-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osm2gmns-0.3.3.tar.gz
  • Upload date:
  • Size: 29.1 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.3.3.tar.gz
Algorithm Hash digest
SHA256 43d33a66f15b368156e0cf48d7bd831c82c0149a850738366f5fb4f6ac2656c4
MD5 6a5f383acd97100532434ada40313752
BLAKE2b-256 c1f5e2d94e8f425bb45d8071a70f8cdf34da82d00ac8083a0a22b3242dc2df2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osm2gmns-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 45.0 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.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 58c88db245be82e33692231b006a6695db18c5a1dec612d38d1b3de715090d59
MD5 abe16f84ed3b40dfd1763e898cdfe906
BLAKE2b-256 297f99f4b4d60a65b94c317970f71d81a4bf93e1cb0b7b3df801757ea3a1f51e

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