polartoolkit.alter_region#
- alter_region(starting_region, zoom=0, n_shift=0, w_shift=0)[source]#
Change a bounding region by shifting the box east/west or north/south, or zooming in or out.
- Parameters:
starting_region (tuple[float, float, float, float]) â Initial region in meters in format [xmin, xmax, ymin, ymax]
zoom (float, optional) â zoom in or out, in meters, by default 0
n_shift (float, optional) â shift north, or south if negative, in meters, by default 0
w_shift (float, optional) â shift west, or east if negative, in meters, by default 0
- Returns:
Returns the altered region
- Return type: