10 Commits

Author SHA1 Message Date
Loïc Dutrieux
28ea232107
Test option to ignore overviews (OVERVIEW_LEVEL=-1) (#2050)
* Test for upcoming GDAL feature (from 3.3) allowing existing overviews to
not be exposed
- see https://github.com/OSGeo/gdal/pull/3181
- see https://rasterio.groups.io/g/main/message/649

The test:
- requires gdal 3.3
- tests whether a dataset can be opened with OVERVIEW_LEVEL=-1
- ensures that opening a dataset with OVERVIEW_LEVEL=-1 ignores the file
overview
- ensures that a decimated read on a dataset opened with
OVERVIEW_LEVEL=1 does not read the file overview

* Make test for ignoring overviews when performing decimated read more
simple and robust
2020-12-01 17:03:22 -07:00
Sean Gillies
151cc319ec Remove background layer from boundless VRT
In combination with GDAL fixes, this resolves #1982
2020-09-14 17:59:39 -06:00
Sean Gillies
b08a87e895 Skip test on GDAL 1.11 2018-12-03 12:54:10 -07:00
Sean Gillies
565402ed31 Flush band cache before building overviews
Resolves #1497
2018-11-30 14:26:14 -07:00
Sean Gillies
9679cb645e
Add an OverviewCreationError (#1477)
Resolves #1333
2018-09-24 11:53:20 -06:00
Sean Gillies
8e4575c8f3
Redo of PR #1458 (#1464) 2018-09-13 10:59:11 -06:00
Sean Gillies
9056e191de Add tests for unsupported algos
Also reverted to ordinary ValueError since you won't handle
invalid resampling values in a special way.
2016-04-09 09:19:52 -06:00
Patrick Young
b79179eeb4 removed errant comma in enums.py
The Resampling.average enum value had a comma after it, which caused
that particular enum to map to a tuple instead of a string.  This broke
the use of the average kernel when making overviews.
2015-07-30 16:11:48 +00:00
Sean Gillies
d94e382c89 Initial impl of rio-pyramid.
Closes #388.

Adds two methods to Dataset classes and a new enum of resampling
algorithms.
2015-07-07 16:16:10 -06:00
Sean Gillies
a22a2592c9 Add test. 2015-07-03 08:42:07 -06:00