Skip to content

guhaishuo/OSM2GMNS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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

You can visualize generated networks using NeXTA or QGis.

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

Arizona State Unversity, Tempe Campus

Users' guide

For detailed users' guide, readers can visit the online documentation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%