Sean C. Gillies
1f5644efa8
Straighten up docs and test
2018-04-14 08:43:39 -06:00
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
Sean Gillies
16ed26c4a0
Eliminate use of deprecated boundless keyword
...
Resolves #1082
2017-07-13 13:20:28 +02: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
Sean Gillies
c518b8309c
Make sure float values make it to GDAL
2017-05-31 09:56:27 +02:00
Erik Seglem
a31e3c8c16
Standardize on import numpy as np.
2016-06-01 22:47:33 -04:00
Brendan Ward
10f6aea199
Added sanity check to test
2016-04-15 20:30:13 -07:00
Matthew Perry
37b0759f3f
retain window function signature with iter_args decorator
2016-04-15 09:32:17 -04:00
Matthew Perry
fbb1ecd639
windows intersects to adjust for open interval, funcs take *windows instead of iterable
2016-04-12 12:25:57 -04:00
Matthew Perry
29fec84cb7
flatten namespace, windows module, deprecate old calls
2016-03-29 19:58:16 -04:00
Brendan Ward
7e69b225d4
Add more windows utilities: get_data_window, window_union, window_intersection, windows_intersect
2015-10-28 07:22:20 -07:00
Matthew Perry
432302a6e6
implement option 3, change default instead of argument
2015-09-18 09:48:59 -04:00
Matthew Perry
6bea1fbb07
simplified bounds test
2015-09-01 08:28:57 -04:00
Matthew Perry
b0976af8a8
initial commit of full_cover window
2015-08-24 12:49:02 -04:00
Sean Gillies
c73634694b
Nudge with an epsilon so that window and window_bounds round trip.
...
Closes #419 .
2015-07-17 15:35:21 -06:00
Brendan Ward
89b84b3e6d
Added rio extract command, minor refactoring of _base window handling
2015-04-14 09:03:24 -07: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
12261402fb
Incorporating @brendan-ward's suggestions.
2015-01-13 12:51:10 -07:00
Sean Gillies
2b4f7284ba
Working rio-merge with main features of gdal-merge.py
...
Closes #242
2015-01-12 15:21:34 -07:00
Sean Gillies
943fa8e099
New layout, tests moved.
2014-09-01 22:00:56 -06:00