realtwin.func_lib.get_bounding_box_from
- realtwin.func_lib.get_bounding_box_from(vertices: str | list) tuple[source]
get the bounding box from the vertices string
- Parameters:
vertices (str) – the vertices of the network in string format “(lon, lat),(lon, lat),…”
Notes
The vertices format can be found in configuration file
- Returns:
the bounding box of the network: (min_lon, min_lat, max_lon, max_lat)
- Return type:
tuple