Changelog¶
0.4 | 2019-12-05¶
spatialist.auxil.gdalwarp()
: optional progressbar via new argument pbar-
enabled reading data in zip and tar.gz archives
-
renamed parameter format to driver
new parameter source to get coordinates from the image of the GCPs
-
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 threadsnew function
spatialist.auxil.cmap_mpl2gdal()
: convert matplotlib color sequences to GDAL color tables-
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
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
-
better representation of the object’s geometry type(s) with new method
geomTypes()
and additional info when printing the object withprint()
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 byband names
time range
spatialist.auxil.crsConvert()
: raise a RuntimeError if no corresponding EPSG code was foundmodule spatialist.explorer and associated demo data and notebook have been outsourced to https://github.com/johntruckenbrodt/spatialist_explorer
0.8 | 2021-09-07¶
-
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
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 tarraise
RuntimeError
(notTypeError
) if target is a string but is neither directory nor file
0.9.0 | 2022-01-25¶
-
method
write()
:remove unused argument compress_tif
add support for COG driver
-
method
addlayer()
:enable all SRS type options supported by
crsConvert()
spatialist.raster.rasterize()
: allow value None for argument nodatanew functions:
0.10.0 | 2022-02-24¶
-
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 deletednew: written to subdirectory ‘spatialist’ of
gettempdir()
and deleted duringclose()
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 functionbug fixes
0.12.0 | 2022-12-21¶
replace argument options with general keyword arguments kwargs in functions
0.12.1 | 2023-11-16¶
installation via pyproject.toml instead of setup.py
spatialist.ancillary.finder()
: support for zipfiles with implicit directories
0.13.0 | 2024-04-11¶
add progress bar to
spatialist.ancillary.multicore()
(non-Windows only)