Changelog¶
0.4 | 2019-12-05¶
spatialist.auxil.gdalwarp(): optional progressbar via new argument pbarspatialist.raster.Raster- enabled reading data in zip and tar.gz archives
bbox()- renamed parameter format to driver
- new parameter source to get coordinates from the image of the GCPs
spatialist.raster.stack()- improved parallelization
- new parameter pbar to make use of the new
gdalwarp()functionality
- bug fixes
0.5 | 2020-04-21¶
- compatibility of SpatiaLite tools with Windows10
- compatibility with GDAL 3
- new function
spatialist.ancillary.parallel_apply_along_axis(): likenumpy.apply_along_axis()but using multiple threads - new function
spatialist.auxil.cmap_mpl2gdal(): convert matplotlib color sequences to GDAL color tables spatialist.raster.Raster- method
write(): new argument cmap to write color maps to a file; can be created with e.g.cmap_mpl2gdal() - subsetting: option to use map coordinates instead of just pixel coordinates
- method
array():- automatically reduce dimensionality of returned arrays using
numpy.squeeze() - cast arrays to float32 if the native data type does not support
numpy.nanfor masking missing data
- automatically reduce dimensionality of returned arrays using
- option to read image data in all .tar* archives, not just tar.gz
- new methods
coord_map2img()andcoord_img2map()to convert between pixel/image and map coordinates of a dataset
- method
spatialist.vector.Vector- better representation of the object’s geometry type(s) with new method
geomTypes()and additional info when printing the object withprint()
- better representation of the object’s geometry type(s) with new method
spatialist.explorer.RasterViewer- optionally pass custom functions to create additional plots using argument custom
0.6 | 2020-07-17¶
- method
spatialist.raster.Raster.write()- optionally update an existing file with new arg update
- partial writing with new args xoff and yoff
- write external arrays with new arg array
- new function
spatialist.raster.png() - new function
spatialist.raster.apply_along_time() - bug fixes
0.7 | 2021-06-30¶
spatialist.raster.Raster: option to subset objects by- band names
- time range
spatialist.auxil.crsConvert(): raise a RuntimeError if no corresponding EPSG code was found- module spatialist.explorer and associated demo data and notebook have been outsourced to https://github.com/johntruckenbrodt/spatialist_explorer
0.8 | 2021-09-07¶
spatialist.raster.Raster:- method
write()- removed argument compress_tif
- added arguments options and overviews
- subsetting support for time stamps, color tables and nodata
- option to convert band names to time stamps by passing a function as argument timestamps
- bug fixes
- method
spatialist.envi: enabled reading of HDR files in ZIP archives
0.8.1 | 2021-10-05¶
spatialist.auxil.crsConvert():- use https for opengis links
- apply ESPG validity checks when output format is opengis (not just when epsg)
spatialist.ancillary.finder():- raise
RuntimeError(notTypeError) if target is a file but is neither zip nor tar - raise
RuntimeError(notTypeError) if target is a string but is neither directory nor file
- raise
0.9.0 | 2022-01-25¶
spatialist.raster.Raster:- method
write():- remove unused argument compress_tif
- add support for COG driver
- method
spatialist.vector.Vector:- method
addlayer():- enable all SRS type options supported by
crsConvert()
- enable all SRS type options supported by
- method
spatialist.raster.rasterize(): allow value None for argument nodata- new functions:
0.10.0 | 2022-02-24¶
spatialist.raster.Raster:- method
write():- TIFF tag writing via argument options (formats ‘GTiff’ and ‘COG’)
- new argument overview_resampling
- changed default format to ‘GTiff’
- improved mechanism for temporary VRT file writing:
- old: written to
tempfile.gettempdir()and never deleted - new: written to subdirectory ‘spatialist’ of
gettempdir()and deleted duringclose()
- old: written to
- method
spatialist.raster.png(): new arguments ‘vmin’ and ‘vmax’
0.10.1 | 2022-03-02¶
spatialist.vector.boundary()bug fix
0.11.0 | 2022-06-01¶
spatialist.auxil.crsConvert(): new argument wkt_formatspatialist.raster.Raster.bbox(): set default of argument ‘driver’ to Nonespatialist.ancillary.sampler(): new function- bug fixes