build network with gmns format using .osm file from openstreetmap
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 the GMNS format. Users can convert and model drivable, walkable, railway, or aeroway networks with a single line of Python code.
Installation
pip install osm2gmns
Simple example
Get network from map.osm file and consolidate complex intersections
>>> import osm2gmns as og
>>> net = og.getNetFromOSMFile('map.osm')
>>> og.outputNetToCSV(net)
Visualization
Users’ guide
For detailed users’ guide, readers can visit the online documentation.
Project details
Release history Release notifications | RSS feed
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.2.1.tar.gz
(22.5 kB
view hashes)
Built Distribution
osm2gmns-0.2.1-py3-none-any.whl
(37.9 kB
view hashes)