locan.data.regions.region_utils.expand_region¶ locan.data.regions.region_utils.expand_region(region, distance=100, support=None, **kwargs)[source]¶ Expand a region by distance. If region contains a list of regions, the unification of all expanded regions is returned. Parameters: region (Region) – Original region(s) distance (int | float) – Distance by which the region is expanded orthogonal to its boundary. support (Region | None) – A region defining the maximum outer boundary. kwargs (Any) – Other parameters passed to shapely.geometry.buffer() for Region2D objects. Return type: Region