Awesome
Summary
Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML
file.
Description
This software package includes functions for working with OpenStreetMap XML Data files (extension .osm
), as downloaded from here, to:
-
Import and parse the
XML
data file and store the parsed data in aMATLAB
structure. This data represents the graph of the transportation network. -
Plot the
MATLAB
structure to get a visualization of the transportation network, its nodes and their labels. -
Extract the adjacency matrix of the directed graph representing the network's connectivity (i.e., road intersections).
-
Find shortest routes between nodes within the network. Note that distance is measured as the number of transitions between intersection nodes, not over the map.
Download
Distribution zip from the File Exchange. Includes dependencies.
Documentation
Included in PDF
format in the distribution zip.
Dependencies
License
This package is licensed under the 2-clause BSD license. The authors of dependencies are included to enable their inclusion for distribution here.