Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file.
Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
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`.
Citar como
Ioannis Filippidis (2026). OpenStreetMap Functions (https://github.com/johnyf/openstreetmap), GitHub. Recuperado .
Información general
- Versión 1.4.0.0 (14,6 KB)
-
Ver licencia en GitHub
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
No se pueden descargar versiones que utilicen la rama predeterminada de GitHub
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.4.0.0 | link to github using matlabcentral itself
|
||
| 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.
|
||
| 1.0.0.0 |
