Effacer les filtres
Effacer les filtres

How to read road network data off a map in MATLAB?

43 vues (au cours des 30 derniers jours)
SIDDHARTHA SIDDHARTHA
SIDDHARTHA SIDDHARTHA le 14 Juil 2024 à 4:44
Réponse apportée : Madheswaran le 15 Juil 2024 à 10:35
Hello everyone,
I am working on Electric vehicle charging station location and plannimng problem. The idea is, that given any city map, we should be able to plan and size the Electric vehicle charging stations locations on a map. For the same, I want to be able to input the city map via google, OpenStreet etc, and my code should be able to read the road network details, like nodes, distance, width, unidirectional or bidirectional road etc.
To be honest, I have made zero progress in that. Using geoplot function, I can read the location, and I can also see the road layout, but Im not able to get anything more out of it.
I already read the document on roadprops,but it isnt useful. I figured its something to do with image processing.
Any help or an example or links would be appreciated

Réponses (1)

Madheswaran
Madheswaran le 15 Juil 2024 à 10:35
Hi Siddhartha,
If you have an OpenStreetMap file (.osm or .osm.pbf) for your location, you can directly read the file into a MATLAB table using the `readgeotable` function.
For more detailed information, please refer to the following documentations:
  1. Read data from OpenStreetMap Files: https://www.mathworks.com/help/releases/R2024a/map/read-data-from-openstreetmap-files.html
  2. List of Supported formats for `readgeotable`: https://www.mathworks.com/help/releases/R2024a/map/ref/readgeotable.html
Hope it helps!

Catégories

En savoir plus sur Mapping Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by