Building a map with kml file

27 visualizzazioni (ultimi 30 giorni)
Mustafa Sezer
Mustafa Sezer il 2 Feb 2022
Risposto: Omkar il 5 Giu 2024
Hello,
I have a KML file that includes latitude longitude and altitude of a road. I imported my KML file by using vector data tool and i can see it on the viewer. However, the Roadrunner did not create the road automatically and it is not recognized as a road when i export the file as xodr. How is it possible to import a KML file, create a road of it with including its elevation in Roadrunner automatically?
Thank you
  1 Commento
Simon Silge
Simon Silge il 21 Feb 2022
Modificato: Simon Silge il 21 Feb 2022
I think this is currently not possible. So you would have to build these roads manually afaik. But there is the Scene Builder product, that can build roads automatically from Here HD Maps. Another way would be providing an OpenDrive file, which can be used to create roads automatically.
Or you could preprocess the data in a different tool. It seems like you can import KML to MATLAB. In MATLAB you also have the possibility to create basic road networks and export them to openDrive. That can then be imported into RoadRunner and used to generate the roads. So it might be possible to create an OpenDrive file from KML within MATLAB, but I have no idea of how much work would need to be put into that.

Accedi per commentare.

Risposte (1)

Omkar
Omkar il 5 Giu 2024
Hi
Following link will walk your through how to import your kml data and build Roadrunner scene with roads.
Hope this helpw

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by