6 Commits

Author SHA1 Message Date
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