OpenStreetMap Functions

Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file.
14.3K 次下载
更新时间 2021/8/4

This software package includes functions for working with OpenStreetMap XML Data files (extension `.osm`), as downloaded from http://www.openstreetmap.org, to:
1) Import and parse the XML data file and store the parsed data in a MATLAB structure. This data represents the graph of the transportation network.
2) Plot the MATLAB structure to get a visualization of the transportation network, its nodes and their labels.

3) Extract the adjacency matrix of the directed graph representing the network's connectivity (i.e., road intersections).

4) 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.

Development and releases on GitHub:
https://github.com/johnyf/openstreetmap
(linked also here).

PDF documentation, bundled dependencies, and an example file `map.osm` can be found in the releases page on GitHub:

https://github.com/johnyf/openstreetmap/releases

The example file `map.osm` can be used with `usage_example.m`.

引用格式

Ioannis Filippidis (2024). OpenStreetMap Functions (https://github.com/johnyf/openstreetmap), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.4.0.0

link to github using matlabcentral itself
Link to releases page on GitHub, where docs and dependencies can be obtained from.

1.3.0.0

included restorehold.m, fix warning, rename xml2struct to avoid name shadowing

1.2.0.0

development on github

1.1.0.0

Bug fixes associated with some ways having no tags.
Included routing functionality.
Added more plotting functions.
Updated manual.

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库