13 Commits

Author SHA1 Message Date
derekjanni
fc9861cef7 Allow for variable-width padding on masks (#1703)
* change mask padding to a float var

* crossed wire

* this is less braeaking

* better comments

* change main mask signature duh

* fix tests to be better, do more

* more tests
2019-06-19 15:27:06 -06:00
Brendan Ward
870cdd62f7 Add tests for __geo_interface__ for bounds and raster_geometry_mask 2018-02-05 05:35:53 -08:00
Jonas Sølvsteen
bb8c6c3f3b test for 2D shape with indexes=int 2017-12-08 19:50:51 +01:00
Jonas Sølvsteen
d856d46e61 add indexes parameter to rasterio.mask.mask 2017-12-07 15:35:25 +01:00
Brendan Ward
33232130be py2.7 fix, docstring improvements 2017-09-14 06:25:10 -07:00
Brendan Ward
330574fd90 Refactored mask functionality, updated tests 2017-09-11 20:59:02 -07:00
Brendan Ward
86fb4cd011 Fix mask return type issue, restructured logic, overhauled tests 2017-09-01 08:33:35 -07:00
Dan Baston
3861d5e060 Add failing test 2017-08-31 21:18:28 -07:00
Sean Gillies
731aa86f3a xfail for GDAL < 2.2 2017-06-12 13:15:25 +02:00
Sean Gillies
e3d0ab29d7 Improve consistency of bounds handling. 2017-06-12 11:21:38 +02:00
Sean Gillies
d7ea5bfbfe xfail some pixel value senstivie tests when gdal < 2 2017-06-11 17:14:29 +02:00
Sean Gillies
3089c728da New impl for Window class
An offset and length representation of windows avoids unnecessary
additions and subtractions that can lead to loss of precision.

A consequence is that we can no longer assert equality between
instances of Window and range tuples because Window no longer
subclasses tuple.

Rasterio is now ready for floating point windows.
2017-06-10 18:42:49 +02:00
Kevin Wurster
11b18446db rasterio.tools no longer exists. 2016-06-03 14:07:57 -04:00