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
Finalize "Mask from a vector" example once rasterizing with geoparameters functionality consistently added to create_mask (see "Improvements" below),
Remove output of "Axes" in the "Reduction from window" and "Interpolation from grid" example,
Replace bit of code with Vector function in "Interpolation from grid" example.
Bugs:
Nodata are plotted for GeoDataFrame (see "Interpolation from grid" example),
Colorbar is wrong for Vector.show()
Polygonizing "all" values on the Landsat_B4 example creates some LineString inside polygon?
Tests:
Further increase coverage of vector.py (save, getitem, etc, see Coveralls report),
Logically catch all warnings triggered during tests.
Improvements:
Homogenize array shape input/output of interp_points and value_at_coords, and variable names. Make output shape consistent for interp_points and others: if single-coordinate float is passed, return the same. Otherwise, if ArrayLike is passed, return ArrayLike. Could create a generic function for dealing with points: accept a Vector of type point, accept any shape of input list or array, and use it everywhere?
Homogenize naming of "match-reference" everywhere: right now sometimes dst_ref, sometimes rst, sometimes raster_or_vector,
Overload Mask.show to only a discontinuous, 2-color colorbar (with interpolation="none"),
Consistently allow having only shape or res as argument for Vector rasterizing methods (rasterize, create_mask, proximity),
Before releasing a first
1.0
:Documentation:
default_mode
ofhtml_context
toauto
once Pydata Sphinx Theme is updated #362),Raster
.create_mask
(see "Improvements" below),Vector
function in "Interpolation from grid" example.Bugs:
Vector.show()
Tests:
vector.py
(save, getitem, etc, see Coveralls report),Improvements:
interp_points
andvalue_at_coords
, and variable names. Make output shape consistent forinterp_points
and others: if single-coordinatefloat
is passed, return the same. Otherwise, ifArrayLike
is passed, returnArrayLike
. Could create a generic function for dealing with points: accept aVector
of type point, accept any shape of input list or array, and use it everywhere?dst_ref
, sometimesrst
, sometimesraster_or_vector
,Mask.show
to only a discontinuous, 2-color colorbar (with interpolation="none"),shape
orres
as argument for Vector rasterizing methods (rasterize
,create_mask
,proximity
),info()
method directly print (to avoid having to callprint(rast.info())
?). -> solved in Raster downsampling and cropping operations seem to be incompatible #408New features:
Vector
random point generation in an outline, can pass aRaster
object as match-reference to get a random point in its extent.window
ofvalue_at_coords
(disk, etc),from_points
method forRaster
,rasterstats
?).The text was updated successfully, but these errors were encountered: