26 Commits

Author SHA1 Message Date
Vincent Sarago
ba5e90c487
mapbox -> rasterio (#2321) 2021-10-22 09:04:05 -06:00
Sean Gillies
33b59c0dad
Work around some minor breaking changes in GDAL 2.3 (#1388) 2018-06-26 07:44:36 -06:00
Sean C. Gillies
ba7b4f76b1 Deprecate creation kwds in profiles
Addresses concerns raised in #1332
2018-05-24 13:57:27 -06:00
Sean C. Gillies
9f1fea66be Cleanup 2018-04-25 16:57:01 -06:00
Sean C. Gillies
a9d41e7967 Do save opening options but do not copy them to profile 2018-04-25 16:49:08 -06:00
Sean C. Gillies
07a03413c3 Comment out pdb import 2018-04-25 09:53:20 -06:00
Sean C. Gillies
f5434180b6 Do not save opening options in tags 2018-04-25 09:44:40 -06: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
Kevin Wurster
b7d023b5eb Simplify a test. 2017-10-27 00:07:10 -04:00
Kevin Wurster
d79647c375 Fix GDAL version dependent color interpretation test behavior. 2017-10-27 00:04:20 -04:00
Kevin Wurster
90c0099d69 Make colorinterp a tuple for immutability. 2017-10-26 22:09:31 -04:00
Kevin Wurster
4be8804a2e PR feedback. 2017-10-26 18:54:44 -04:00
Kevin Wurster
a6ce62cd22 Switch 'src.colorinterp' to a setter/getter. 2017-10-14 03:14:05 -04:00
Kevin Wurster
5e9f0685a7 Allow setting color interpretation to 'undefined'. 2017-09-02 23:40:32 -04:00
Kevin Wurster
647a17b3e7 Test using all color interpretations for setting to catch more situations like 'undefined'. 2017-08-31 02:14:20 -04:00
Kevin Wurster
1f99ab07df Explicitly disallow setting color interpretation to 'undefined'. It appears to work until the file is re-opened, at which point the original colorinterp is still present. 2017-08-31 02:13:57 -04:00
Kevin Wurster
8d299ac8c8 Run a test that fails on a specific system on Travis instead of permanently skipping. 2017-08-31 00:50:51 -04:00
Kevin Wurster
b6f82eab15 Test setting colorinterp with a non-uint8 image. A bit of test cleanup too. 2017-08-30 23:51:38 -04:00
Kevin Wurster
fe6bb981cf New 'DatasetWriterBase.set_colorinterp()' method for setting a band's color interpretation. 2017-08-30 23:03:25 -04:00
Sean Gillies
0c9b86278c Skip two tests.
One is a Homebrew crasher, the other requires a format driver that
isn't installed with Homebrew.
2016-05-31 19:58:12 -06:00
Sean Gillies
12f8fc7e3f New, lazier AWS sessions
New Env class and tests.
More logging, tests, safer environment
Remove usage (deprecated) of rasterio.drivers()
Also pep8 cleanups throughout the tests and a fix for unchecked
dtypes when opening a dataset in 'w' mode.
Now we can simply import warnings in __init__.py. In the
deprecations tests, we needed to see a single warning only one
time to avoid multiple drivers() warnings.
Add a global env.
Add rasterio.env.setenv()
2016-04-28 15:26:55 -06:00
Matthew Perry
e00f0e1fe7 Ynot? because GDAL does the conversion internally and users stay in RGB 2016-04-04 15:30:18 -04:00
Sean Gillies
ed21d034bf xfail a test until we figure out what's up with GDAL 2016-03-31 16:22:08 -06:00
Sean Gillies
da9643e7e3 Add a PhotometricInterp enum and test it.
Strip 'YCbCr' from compression tags before returning the
compression method name.

Closes #617
2016-03-31 14:12:49 -06:00
Sean Gillies
943fa8e099 New layout, tests moved. 2014-09-01 22:00:56 -06:00