2629 Commits

Author SHA1 Message Date
Sean C. Gillies
09ee0e15e8 Resolve #1377 2018-06-20 13:19:56 -06:00
Sean C. Gillies
567e2c6056 Fix assertion 2018-06-20 13:00:56 -06:00
Sean C. Gillies
516c3a02fa Add test for adding an alpha band in the single band case 2018-06-20 12:23:02 -06:00
Sean C. Gillies
baf957e2e0 Change dst_alpha from 4 to src.count + 1
Resolves #1382
2018-06-20 12:15:39 -06:00
Sean C. Gillies
832b697948 Update version and change log 1.0b2 2018-06-19 14:50:44 -06:00
Sean C. Gillies
d3ca5a6b2e Require GDAL 2.1 for all tests with add_alpha=True 2018-06-19 13:53:19 -06:00
Sean C. Gillies
246cb614ec Update warp resampling test expectations
The large differences between nearest neighbor and other algs
should have been a red flag, but I didn't notice it before.
2018-06-19 13:40:44 -06:00
Sean C. Gillies
63925dbfe0 Add support for source alpha when warping
Also add an assertion that source masks are accessed when reading
masks from a WarpedVRT.
2018-06-19 11:31:49 -06:00
Sean C. Gillies
bbd4291340 Resolves #1379 2018-06-19 08:47:45 -06:00
Sean C. Gillies
b041e35f96 Update test and change log 2018-06-18 21:31:36 -06:00
Sean C. Gillies
5fbcff2ea9 Require GDAL 2 for this test 2018-06-18 14:53:52 -06:00
Sean C. Gillies
313f009cda Un xfail, these tests pass 2018-06-18 14:37:59 -06:00
Sean C. Gillies
b4acb7df03 Remove redundant test 2018-06-18 13:53:08 -06:00
Sean C. Gillies
f517575f20 Apply settings to windows tests not boundless read tests 2018-06-18 11:39:01 -06:00
Sean C. Gillies
4a13e0464c Suppress a hypothesis check which fails sporadically on Travis 2018-06-18 11:27:17 -06:00
Sean C. Gillies
e229d82ed7 Add failing tests for VRT/boundless overview hits 2018-06-18 11:06:27 -06:00
Sean Gillies
acd014f5be
Merge pull request #1378 from mapbox/not-warped-vrt-boundless
VRT XML implementation of boundless reads
2018-06-16 14:55:25 -06:00
Sean C. Gillies
45f7fcbe7a Remove comments and commented code 2018-06-16 13:49:24 -06:00
Sean C. Gillies
f5027cf9d8 Simplify version negotiating logic 2018-06-16 08:54:04 -06:00
Sean C. Gillies
501f6da018 Fixes for GDAL 1.11 :| 2018-06-15 17:57:00 -06:00
Sean C. Gillies
866498034e Skip test for GDAL < 2 2018-06-15 15:53:17 -06:00
Sean C. Gillies
6359cff8af Revert other change from 73ca8cf 2018-06-15 15:21:31 -06:00
Sean C. Gillies
e0030578d0 Revert indexing changes in 73ca8cf 2018-06-15 14:57:13 -06:00
Sean C. Gillies
d362e258cc Skip test that can't pass on GDAL < 2.1
Also handle nodata deletion exception.
2018-06-15 12:30:39 -06:00
Sean C. Gillies
6f91107f27 Walk nonzero mask values to 255
Disallow boundless reads from WarpedVRT
2018-06-15 11:24:21 -06:00
Sean C. Gillies
a5d236bbd4 Skip test 2018-06-15 10:13:59 -06:00
Sean C. Gillies
afbca5626e Use vsi paths in VRT 2018-06-15 09:37:51 -06:00
Sean C. Gillies
f1c2ad64b2 Replace warped VRT with in-memory "straight" VRT 2018-06-15 08:18:53 -06:00
Sean C. Gillies
ea61719f1d Hide vsi_path add a failing vsimem + VRT test 2018-06-13 15:39:11 -06:00
Sean C. Gillies
b5ff28add1 add_alpha=False means never add an alpha band, default is None
Resolves #1372
2018-06-12 16:27:07 -06:00
Sean C. Gillies
73ca8cfe6f Ensure VRT alpha band nodataval is set
Resolves #1371.

Also adds a few more relevant tests.
2018-06-12 16:05:29 -06:00
Sean Gillies
00f53c3a93
Note fix of #1298 2018-06-05 14:31:47 -07:00
Sean Gillies
c7371d47e5
Merge pull request #1366 from mapbox/issue1298
add read_masks's kwargs to dataset_mas method
2018-06-05 14:28:41 -07:00
vincentsarago
12ab168a57 skip <gdal2 2018-06-05 17:16:11 -04:00
vincentsarago
4c537fd6d4 split test and use billinear 2018-06-05 16:49:33 -04:00
vincentsarago
10b6146469 update dataset_mask kwarg tests 2018-06-04 14:07:18 -04:00
vincentsarago
a56cb8ed46 forward keywords to read_masks() 2018-06-04 12:22:08 -04:00
Sean Gillies
d23488113e
Merge pull request #1361 from mapbox/warped-vrt-dataset-mask
WIP: Warped vrt dataset mask
2018-06-04 08:36:04 -07:00
Sean Gillies
d81730a852
Move Google LLC off its own line 2018-06-04 08:32:04 -07:00
Sean Gillies
45437ceb6e
Merge pull request #1365 from tylere/patch-1
Corrected typo in CONTRIBUTING Code Conventions.
2018-06-04 08:31:01 -07:00
Sean C. Gillies
d8e9392d4f Fix deprecated usage in Rasterio and docs 2018-06-04 08:25:59 -07:00
Sean C. Gillies
0d362ace53 Add notes about deprecation and aliasing 2018-06-04 08:11:15 -07:00
Sean C. Gillies
ce09606598 Require GDAL >= 2.1 for test 2018-06-04 06:37:42 -07:00
Tyler Erickson
d585718d1b
Update AUTHORS with Tyler's info and Google LLC 2018-06-04 06:02:17 -07:00
Tyler Erickson
e2ea258a9f
Fixed a typo in CONTRIBUTNG Code Conventions. 2018-06-04 05:41:25 -07:00
Sean C. Gillies
2d3eb2ba9d Add test of deprecated params 2018-06-03 23:00:32 -07:00
Sean C. Gillies
75e5ae29b6 Do the right thing for sources with .msk and no nodata
The right thing being to add an alpha band to the VRT.
2018-06-03 22:47:46 -07:00
Sean C. Gillies
14d09535b4 Skip test_warped_vrt_dst_alpha for GDAL < 2.1 2018-06-03 21:29:00 -07:00
Sean C. Gillies
a5cf5c23ac Add more notes about add_alpha 2018-06-03 16:41:37 -06:00
Sean C. Gillies
6854afecf0 Update add_alpha docstring 2018-06-03 15:36:00 -06:00