RoadRunner: When import OpenDRIVE file, get "Bounds of file invalid" error

4 views (last 30 days)
I want import OpenDRIVE(*.xodr) file to RoadRunner.This OpenDRIVE file was converted from OpenStreetMap(*.osm) file (that was exported from OpenStreetMap web page) by Carla module(carla.Osm2Odr).
Some xodr files could be imported to RoadRunner, but others are failed. (Attached files are exported osm and converted xodr.)
Click such file in the Library Browser, I got error (below) (Occurs only once first click). And after set "Set Custom Projection", Attribute pane doesn't show Min and Max property of 'Bounds in WGS84' group.
> ERROR: Failed to load OpenDRIVE data: Expected 'OpenDRIVE' element (file: 'C:/xyz/Assets/Background/map.xodr')
> ERROR: Bounds of file invalid [Min: (1.79769e+308, 1.79769e+308), Max: (-1.79769e+308, -1.79769e+308)]: <PROJECT>/Assets/OpenDRIVE/map.xodr
> ERROR: Failed to load OpenDRIVE data: Expected 'OpenDRIVE' element (file: 'C:/xyz/Assets/OpenDRIVE/map.xodr')
But the xodr file contains OpenDRIVE element:
<?xml version="1.0" encoding="utf-8"?>
<OpenDRIVE>
...
</OpenDRIVE>
When I specified export-range(North: 36.52464, South: 36.52406, West:139.92288, East: 139.92422), I import succeeded.
But when I specified range(North: 36.52463, South: 36.52405, West:139.92140, East: 139.92274), failed.
Boundary size is same but road length in failed file are longer. So I think cause is content(roads) length.
Cannot RoadRunner import large OpenDRIVE file?(How much large file can import?)
Is there way of import large OpenDRIVE file?

Accepted Answer

晃介 森嶋
晃介 森嶋 on 19 Nov 2021
I resolved.
I saved xodr file with 'SJIS'. So the file contains garbled charactor.
I open with 'SJIS' and save with 'UTF-8' then I can import to RoadRunner.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!