Building a map with kml file
23 views (last 30 days)
Show older comments
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 Comment
Simon Silge
on 21 Feb 2022
Edited: Simon Silge
on 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.
Answers (1)
Omkar
on 5 Jun 2024
Hi
Following link will walk your through how to import your kml data and build Roadrunner scene with roads.
Hope this helpw
0 Comments
See Also
Categories
Find more on Programmatic Scene and Scenario Management in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!