Effacer les filtres
Effacer les filtres

How to move map when use driving scenario designer?

2 vues (au cours des 30 derniers jours)
진명
진명 le 7 Mar 2024
Commenté : 진명 le 9 Mai 2024
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?

Réponses (1)

Jacob Mathew
Jacob Mathew le 7 Mai 2024
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.
After importing roads into Canvas
The above Scenario is imported from the Open Street Map Example which can be opened using the following command:
openExample('driving/ImportOpenStreetMapDataIntoDrivingScenarioExample')
  1 commentaire
진명
진명 le 9 Mai 2024
Thank you for your answer
but, What I'm trying to say is the map movement in the road selection process before importing OSM data.
This issue was resolved through 1:1 FAQ, and could only be resolved through additional commands in 2023b and above.

Connectez-vous pour commenter.

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