Changelog¶
v0.4¶
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
v0.5¶
- 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.nan
for 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
v0.6¶
- 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