7 Commits

Author SHA1 Message Date
Sean C. Gillies
12f15ff51c Remove all deprecated features* and update tests
*except reading from datasets in "w" mode, which will wait one
more pre-release or two.
2018-04-13 16:43:26 -06:00
James McBride
e9e04039d4 Remove potential circular import path
The Mixin classes were in io, and imported within the vrt module,
but the io module also imported the vrt module (within _io). This
worked when copy was being imported before io in __init__, but removing
that import from __init__ produced a circular import.
2017-10-17 22:43:17 -07:00
Sean Gillies
5df51bd684 More explanation and a deprecation test 2017-07-26 14:57:07 -06:00
Sean Gillies
f0d3eb0bfb Fix last lingering window errors 2017-06-28 15:05:16 +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
Matthew Perry
3fc8cfdfe8 rename windows functions to avoid redundancy, get_index to use transform multiplication 2016-07-07 10:52:35 -07:00
Matthew Perry
d06818a43f test io mixins 2016-07-05 17:47:30 -04:00