You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a function called sample_window to remsample a raster dataset using a window size and a rasterio supported resampling method. This is an efficient way of sampling large raster datasets without reading the entire dataset into memory. The function returns a generator that yields the sampled values in the order of the input coordinates. This function is based on the rasterio.sample.sample_gen function.
Add a function called geo_transform for transforming any Shapely geometry to a new CRS. It could be a single geometry or an array of geometries.