fzi-forschungszentrum-informatik / Lanelet2

Map handling framework for automated driving
BSD 3-Clause "New" or "Revised" License
800 stars 327 forks source link

how to create LANELET2 maps #177

Closed sri6027 closed 3 years ago

sri6027 commented 3 years ago

Hii, alll i want to create a lanelet2 maps by using JOSM editor .how to do it any guide would be help full

thanks srinivas

miropipa commented 3 years ago

hi, i would encourage you to read the README.md file of the package at https://github.com/fzi-forschungszentrum-informatik/Lanelet2/tree/master/lanelet2_maps

sri6027 commented 3 years ago

hi ,thanku for the encouragement i have read this and did a map by add all these attributes but when i try to open it in https://tools.tier4.jp/vector_map_builder_ll2/(vector map builder) it shows ele tag not found if u have worked on this send the detailed procedure for preparing the lanelet2 maps if possible with screenshots.

miropipa commented 3 years ago

maybe i would have a better idea of the issue if I can see the .osm file and the map you are trying to reference. Admittedly, I am new to lanelets too, though I would like to help u if I can. I believe the problem might be u having overlapping lanelets, without stating that one lanelet has to be higher in altitude than the other. I might be wrong in this, but u could be missing tag k='ele' v='height of lanelet' in some of ur nodes.

You can refer to these following videos for a better idea of the procedure. 1) https://www.youtube.com/watch?v=em6H3DM63DM&list=PLwEFAvEjp4OWO4vL5gv6A5ROlo5MTQvvP&index=5 2) https://www.youtube.com/watch?v=dFUrBKYjYBI 3) https://www.youtube.com/watch?v=cl9m6O4Yt0Y&list=PLwEFAvEjp4OWO4vL5gv6A5ROlo5MTQvvP

These videos are not tutorial videos, but they will give u some further insights seeing u are new to lanelets too

icolwell-as commented 3 years ago

@sri6027, the reason you are getting this error is because the editor you are using is built specifically for "Autoware-flavoured" Lanelet2 maps. The vanilla lanelet2 specification does not require elevation tags so that the format can be used in 2D. You can see more details about "Autoware-flavoured" Lanelet2 spec here: https://github.com/Autoware-AI/common/blob/master/lanelet2_extension/docs/lanelet2_format_extension.md

sri6027 commented 3 years ago

@icolwell-as ,Thanku for the response. So then which editor i should use to create the LANELET maps and what is the procedure for creating lanelet maps.

icolwell-as commented 3 years ago

@sri6027 , I recommend the same as @miropipa, which is to use JOSM:

hi, i would encourage you to read the README.md file of the package at https://github.com/fzi-forschungszentrum-informatik/Lanelet2/tree/master/lanelet2_maps

But it depends what you are using the map for, are you looking to create a pure/vanilla Lanelet2 map? or are you looking to create a Lanelet2 map for use with Autoware?

sri6027 commented 3 years ago

i am creating Lanelet2 map for use with Autoware.

miropipa commented 3 years ago

Instead of Autoware's Vector Map editor, you can also check out Assure Map Editor to visualise and further edit your lanelets. https://github.com/hatem-darweesh/assuremappingtools

icolwell-as commented 3 years ago

@sri6027, you can still use JOSM as suggested by the docs in this repo (previously linked above), you just need to be aware of Autoware-specific requirements (also linked above). Use the autoware-flavoured Lanelet2 map validator found at the bottom of this page to help guide you when creating the map. The validator will test your map file and tell you any problems with it. https://github.com/Autoware-AI/common/tree/master/lanelet2_extension#autoware_lanelet2_extension

poggenhans commented 3 years ago

Closing due to inactivity