Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

OSM2GMNS

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.

https://github.com/jiawei92/OSM2GMNS/blob/master/test/asu.PNG

Arizona State Unversity, Tempe Campus

User guide

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

About

No description, website, or topics provided.

Resources

License

Packages

No packages published

Languages