geodata.Mask.find_inner_bound

geodata.Mask.find_inner_bound#

geodata.Mask.find_inner_bound(layers: str | None = None) tuple[float, float, float, float]#

Find the bounding box that’s within specified layers.

Parameters:

layers (list) – The list of layers to find inner bound. If not specified, select all layers in the object.

Returns:

A bounding box (minx, miny, maxx, maxy) that represents the bounding box that bound the joint region.

Return type:

tuple[float, float, float, float]