Sean C. Gillies
0538b55d46
Make block_shapes and files into lists
2018-05-25 11:27:50 -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
vincentsarago
8835672af1
Remove window_index from __init__.py
2018-04-11 10:56:42 -04:00
vincentsarago
acaaa0e67f
Remove window_shape from __init__.py
2018-04-11 10:51:01 -04:00
vincentsarago
5fa43b12f0
Remove eval_window() etc from __init__.py
2018-04-11 10:47:28 -04:00
Brendan Ward
e0f62813e4
Moved comments to reason, skipped test_memoryfile module
2017-11-30 07:01:52 -08:00
Brendan Ward
bf8d4f3509
More consistent GDAL version handling in tests
2017-11-29 08:59:31 -08:00
Sean Gillies
bc3ea193a3
Merge branch 'master' into issue1077
2017-07-31 14:46:34 -07:00
Sean Gillies
b94cc6d2ac
Split block() method into block_window() and block_size()
...
Now instead of dancing around failure or non-implementation of
the later we can fail outright.
2017-07-27 17:59:40 -06:00
Sean Gillies
0a2b6e93b3
Skip block info test for GDAL < 2.0
2017-07-14 11:13:49 +02:00
Sean Gillies
825d127ea1
Pin attrs version, watch out for NULL, block info is namedtuple
2017-07-14 10:48:02 +02:00
Sean Gillies
fed3bcaed7
Add a block() method to dataset objects.
...
block() return the window and size in bytes of a TIFF block. The
size is undefined for other formats and will be None.
Resolves #1077
2017-07-13 16:06:40 +02: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
b8b5df23b9
Add deprecation warning for old style range tuples
2017-06-11 16:15:02 +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
99eaa70967
Add tests of filtering block windows
2017-03-15 11:00:06 +01:00
Erik Seglem
a31e3c8c16
Standardize on import numpy as np.
2016-06-01 22:47:33 -04:00
Kevin Wurster
b9205b1fcb
Remove references to read_band() but not the actual method.
2016-04-12 20:50:50 -04:00
Kevin Wurster
d60d40c3ca
Remove references to write_band() but not the actual method.
2016-04-12 20:45:56 -04:00
Matthew Perry
7b4118a84b
return tuples, not lists from DatasetReader
2016-04-11 11:34:14 -04:00
Sean Gillies
3304f8be45
Closes #520
2015-11-05 16:59:37 -07:00
Sean Gillies
943fa8e099
New layout, tests moved.
2014-09-01 22:00:56 -06:00