How to move map when use driving scenario designer?
2 次查看(过去 30 天)
显示 更早的评论
OSM brought the surrounding road information to conduct the road driving simulation with the roads around Las Vegas in the US, but the files are so big that if I import them all, the rack will be severely jammed.
When importing to solve this problem, I want to select and import only the roads I want, so how can I move the map on the screen below?
0 个评论
回答(1 个)
Jacob Mathew
2024-5-7
After going through your post, I was able to replicate the same issue with a different “Open Street Map” File. However, there does not seem to be any way to move the map around in the import window. The import tool centres the map based on the Geographic Reference and by default opens the map with all selectable roads visible.
In the above picture, the Geographic Reference is visible, along with the grey borders of available roads for an example OSM. Using the zoom and select option in the top right, the required roads can be selected.
A workaround to moving the map around to have fine grained selection is to import the rough areas of the road required. Then, once they are imported into the Scenario Canvas, there is the ability to freely zoom and pan. Here, one can drop the unnecessary roads and fine tune the selection.
The above Scenario is imported from the Open Street Map Example which can be opened using the following command:
openExample('driving/ImportOpenStreetMapDataIntoDrivingScenarioExample')
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!