def METHOD_NAME(infile, extension):
    """Returns a string in the format of a bbox that
    works with an Overpass query.
    """
    try:
        driver = get_ogr_driver(extension)
        datasource = driver.Open(infile, 0)
        layer = datasource.GetLayer()
        extent = layer.GetExtent()
        (xmin, xmax, ymin, ymax) = (extent[0], extent[1], extent[2], extent[3])
        return f"{ymin},{xmin},{ymax},{xmax}"
    except Exception as e:
        print("Something went wrong with the ogr driver")
        print(e)
        exit(1)