This function reads a GeoJSON file containing zones and calculates the bounding box of the zones.

getbbox_from_zones(zones_file = "input/zones.geojson")

Arguments

zones_file

Path to the GeoJSON file containing zones. Default is 'input/zones.geojson'.

Value

A character string representing the bounding box in the format "xmin, ymin, xmax, ymax".