What is the difference between base_map.txt and base_map.xml?
I see there are both base_map.txt and base_map.xml in the map folder. And I see there is one python script which translates between txt and bin files. So what is the difference between txt file and xml file. Does apollo routing module only recognize the xml file or it can do both? Or maybe the xml file is generated using base_map.txt and routing_map.txt? I am a little bit confused. Does any one know?
Hi, Calvin Thanks for your reply. But my question is either base_map.txt or base_map.xml should be enough on your platform, right? Or we have to have the xml version of the map file? Because I see that you have opened your base_map.txt generation method but the xml version map is still in private.
Best Wishes, Hao
On Fri, May 11, 2018 at 7:30 AM, Calvin Miao [email protected] wrote:
base_map.txt is in proto format and base_map.xml is in opendrive data format.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ApolloAuto/apollo/issues/4121#issuecomment-388216052, or mute the thread https://github.com/notifications/unsubscribe-auth/ANZTtgeM0ptvOs94fQOTxPqeGdnOmYCKks5txM2AgaJpZM4T30hS .
But my question is either base_map.txt or base_map.xml should be enough on your platform, right?
Right
base_map.xml and base_map.bin and base_map.txt are basically equivalent. They are the same map data represented in different formats.
For efficiency reasons, we mainly use base_map.bin in Apollo runtime.
base_map.xml is HDMap with Baidu OpenDrive format, base_map.bin and base_map.txt are HDMaps with the Apollo internal data format, base_map.txt is a visualization of the contents of the base_map.bin binary file. so far, this three files are consistent in the content,but in different formats, so you can use any of these three files in the whole project.