Sean Gillies
b9951df81a
Fix the nodata mask value in sample_gen() ( #2832 )
...
Resolves #2830
2023-05-16 16:21:53 -06:00
Sean Gillies
14e8b5987b
Allow sample_gen to take ndarrays again. ( #2547 )
...
* Allow sample_gen to take ndarrays again.
And fix a test filename.
Resolves #2515
* Run workflow on maint-1.3 branch
2022-08-11 14:58:16 -06:00
Vincent Sarago
ba5e90c487
mapbox -> rasterio ( #2321 )
2021-10-22 09:04:05 -06:00
Sean Gillies
7a1d295dfb
Resolve #1822
2019-11-12 22:12:44 -07:00
Matthew Perry
fd2280662d
support single int for sample indexes
2016-09-19 08:32:53 -04:00
Sean Gillies
394756330c
Workaround for #378 .
...
Adds a pure Python generator to be called by RasterReader.sample.
2015-06-26 14:04:48 -06:00
Sean Gillies
a807d1bd51
Closes #282 .
...
At the heart of this was a subtle indexing error due to calling
round() instead of math.floor(). Fixing that needed a cascade of
fixes to expectated values in various tests.
Finally, core logic in the merge command was rewritten for
correctness and clarity.
2015-03-11 15:11:52 -06:00
Sean Gillies
3f61be413c
Add sample method and tests.
2015-02-09 11:17:56 -07:00