# lanelet2-python **Repository Path**: zhaocong913/lanelet2-python ## Basic Information - **Project Name**: lanelet2-python - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-06-20 - **Last Updated**: 2025-08-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Lanelet2 python Provides python bindings for Lanelet2 and its modules. ## Usage After building and sourcing you can do something like the follwoing in python(2): ```python import lanelet2 map = lanelet2.io.load("myfile.osm", lanelet2.io.Origin(49,8.4)) # Modify/Add attribute to all lanelets for elem in map.laneletLayer: if "participant:vehicle" in elem.attributes: elem.attributes["participant:vehicle"] = "no" ``` For more usage examples refer to our [example package](https://github.com/fzi-forschungszentrum-informatik/Lanelet2/tree/master/lanelet2_examples/README.md).