

This section demonstrates how to use the Python API to convert the. The following sections will provide more detail on the options listed above.Ĭonvert OpenStreetMap format to OpenDRIVE format This method does not allow parameterization. Pass the file as a parameter to CARLA's config.py.osm is the most restrictive method as it does not allow for settings customization. xodr using the conversion method explained in the following sections. osm format or if you convert the file to. The method you use will depend on if the data is in the original. Open Street Map data can be used in CARLA via three different methods. Click the Export button in the Export panel and save the map information of the selected area as a.

Select a custom area by dragging the corners of the square area in the viewport.Ħ. Click on Manually select a different area in the Export panel.ĥ. Click on Export on the upper left side of the window to open the Export panel.Ĥ. If you would like to use a map of a large area, for example, Paris, you may consider using CARLA's Large Map feature.ģ. Search for your desired location and zoom in to a specific area. You will see the map view and a panel on the right side of the window where you can configure different map layers, query different features, toggle the legend, and more.Ģ. This section explains how to export your desired map information from Open Street Map:ġ. CARLA can convert this file to an OpenDRIVE format and ingest it using the OpenDRIVE Standalone Mode. Sections of the map can be exported to an XML formatted. OpenStreetMap is an open data map of the world developed by thousands of contributors and licensed under the Open Data Commons Open Database License.

