From eeeba37ec736dacfc9bbe51b258ae90a16dbf2a7 Mon Sep 17 00:00:00 2001 From: Axel Date: Wed, 28 Jul 2021 17:00:31 +0200 Subject: [PATCH] Added `center_map` entry to osm2odr documentation --- Docs/python_api.md | 356 +++++++++++++++++++------------------ PythonAPI/docs/osm2odr.yml | 4 + 2 files changed, 183 insertions(+), 177 deletions(-) diff --git a/Docs/python_api.md b/Docs/python_api.md index 32f4ebf1d..f24ad8a89 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -1633,6 +1633,8 @@ Offset in the Y axis. Default value is __0.0__. Width of the lanes described in the resulting XODR map. Default value is __4.0__. - **elevation_layer_height** (_float – meters_) Defines the height separating two different [OpenStreetMap layers](https://wiki.openstreetmap.org/wiki/Key:layer). Default value is __0.0__. +- **center_map** (_bool_) +When this option is enabled, the geometry of the map will be displaced so that the origin of coordinates matches the center of the bounsing box of the entire road map. - **proj_string** (_str_) Defines the [proj4](https://github.com/OSGeo/proj.4) string that will be used to compute the projection from geocoordinates to cartesian coordinates. This string will be written in the resulting OpenDRIVE unless the options `use_offsets` or `center_map` are enabled as these options override some of the definitions in the string. - **generate_traffic_lights** (_bool_) @@ -3515,6 +3517,34 @@ document.getElementById("snipets-container").innerHTML = null; } +