Releases: chjch/pylusat
Releases · chjch/pylusat
v0.5.8
Updated
gridify
: The function now covers the input GeoDataFrame's extent based on
a (minimum) bounding box whose horizontal and vertical spans can be divided
by the cell size (cell_x
andcell_y
) without remainder.
Previously, the extent of the output grid is exactly the same as the input
GeoDataFrame's extent.
v0.5.7
v0.5.6
v0.5.5
v0.5.4
Added
combine
function to thegeotools
module.
Updated
RasterManager
- Added a
match_extent
method that can match the union of
the extent of theself
and the other raster. rescale
now returnsMemoryFile
of Rasterio.
- Added a
gridify
has been moved fromutils
module togeotools
module.
v0.5.3
0.5.3
2022-07-20
Updated
RasterManager
- Added arescale
method that can change the resolution to
a specified cell size.
Improved
RasterManager
- InstantiateRasterManager
object by passing arasterio
dataset, which allows to chain multiple operations, e.g.,reproject_vrt
and
rescale
.
Added
- Tests for
RasterManager
class.
v0.5.2
v0.5.1
v0.5.0
Added
- test for
zonal_stats_raster
RasterManager
- This class is similar to theGeoDataFrameManager
inpylusat.base
. It manages the basic properties and methods of a raster dataset, such aswkt
,srs
,reproject()
,to_array()
.
Removed
utils.read_raster
- This function is replaced by the method inRasterManager
.
Improved
zonal_stats_raster
- This function now will compare the spatial reference system of thezone_gdf
and theraster
. If they are not the same, the function will attempt toWarp
(reproject) the raster to match the spatial reference ofzone_gdf
.