coord_bounds#
- eoio.utils.crs_utils.coord_bounds(x_step: int, y_step: int, x_origin: int, y_origin: int, x_len: int, y_len: int, crs: dict) dict[source]#
Return coordinate bounds of the data
- Parameters:
x_step
y_step
x_origin
y_origin
x_len
y_len
crs – dictionary of crs info of form {“epsg”: str, “crs”: pyproj.CRS()}
- Returns:
Dictionary of bounding coordinates in both the image default CRS and EPSG:4326.