format_xy_resolution#
- geobricks.format_xy_resolution(*, resolution=None, bounds=None, shape=None)[source]#
Format x_res and y_res from a resolution value/tuple/list, or from bounds and shape.
Parameters#
- resolutionnumber | iterable, optional
xy_res or (x_res, y_res). The default is None.
- boundsiterable, optional
(x_min, y_min, x_max, y_max). The default is None.
- shapeiterable, optional
(height, width). The default is None.
Returns#
x_res and y_res