2090 Commits

Author SHA1 Message Date
Kevin Wurster
a6ce62cd22 Switch 'src.colorinterp' to a setter/getter. 2017-10-14 03:14:05 -04:00
Kevin Wurster
00dadd9d88 Turns out a file with completely undefined color interpretation is possible. 2017-09-03 00:44:23 -04:00
Kevin Wurster
4af241daa1 Ensure exceptions are raised for drivers that do not support setting color interpretation. 2017-09-03 00:44:03 -04:00
Kevin Wurster
05645fc58c Add note about 'like' to '--colorinterp' help. Add feature to changelog. 2017-09-02 23:48:29 -04:00
Kevin Wurster
5e9f0685a7 Allow setting color interpretation to 'undefined'. 2017-09-02 23:40:32 -04:00
Kevin Wurster
629cc89481 Do not raise an exception when setting to 'undefined' color interpretation. Simplified method. 2017-09-02 23:39:52 -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
de9d06884d Remove some dev cruft. 2017-08-31 01:32:09 -04:00
Kevin Wurster
25b3a0c7e9 Ignore auto-generated RST docs for Ratserio module. 2017-08-31 00:54:02 -04:00
Kevin Wurster
897b80cb4a Update color interpretation docs. 2017-08-31 00:52:12 -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
5c9b9a34ac It's just colorinterp. 2017-08-31 00:16:51 -04:00
Kevin Wurster
d4d47be7bc Test for bad colorinterp names. 2017-08-31 00:16:27 -04:00
Kevin Wurster
340fd5e91b Combine tests for '--like' handlers into parametrized pytests. 2017-08-31 00:13:44 -04:00
Kevin Wurster
bf35b56aae Set colorinterp in '$ rio edit-info'. 2017-08-30 23:52:20 -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
75b9dff8cc Track colorinterp when using '--like'. 2017-08-30 23:50:33 -04:00
Kevin Wurster
0f9605bd2a A function for creating a small image lacking color interpretation. 2017-08-30 23:49:52 -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
Kevin Wurster
8dd4271a88 Move '$ rio edit-info' tests into their own file. 2017-08-30 23:02:01 -04:00
Kevin Wurster
a6e24b63f0 Add fixture for grabbing the RGBA.byte.tif test file. 2017-08-30 22:54:24 -04:00
Sean Gillies
6fc3ab3342 Merge pull request #1129 from jdmcbr/fix-mask-deprecation-warning
Use height/width instead of num_row/num_col in mask
2017-08-28 10:32:48 -06:00
Matthew Perry
ba93333b91 Merge pull request #1117 from mapbox/make-it
Makefile
2017-08-28 08:09:10 -06:00
James McBride
e6a9fe4118 Use height/width instead of num_row/num_col in mask
The window attributes num_row/num_col were deprecated in #1074.
2017-08-27 15:29:12 -07:00
Sean Gillies
ef2692627d Create ISSUE_TEMPLATE.md 2017-08-24 08:13:08 -06:00
Sean Gillies
b64bdd8b9a Merge pull request #1112 from mapbox/cinit
No more work done in dataset start()
2017-08-21 23:06:12 -06:00
Sean Gillies
8edea9dfa7 Remove commented code 2017-08-21 22:51:27 -06:00
Matthew Perry
78348e1d01 initial Makefile 2017-08-11 17:08:16 -06:00
Sean Gillies
a8e12188e8 Merge pull request #1105 from mapbox/issue1100
Remove deprecated ul() method from TransformMethodsMixin class
2017-08-11 14:22:59 -06:00
Sean Gillies
e6114698d7 Merge branch 'master' into issue1100 2017-08-11 11:10:29 -06:00
Sean Gillies
52cf7b86c2 Note changes in v1 doc 2017-08-11 11:08:13 -06:00
Sean Gillies
11984c0716 Address reviewer comments 2017-08-10 17:45:56 -06:00
Sean Gillies
9a55725a74 No more work done in dataset start()
Resolves #1046
2017-08-04 17:30:27 -07:00
Sean Gillies
77977eb575 Merge pull request #1106 from jorisvandenbossche/patch-1
DOC: wrong keyword in resample example
2017-08-04 09:57:54 -07:00
Sean Gillies
f5cb805d83 Merge pull request #1111 from brendan-ward/rio_info_abort_err
Fix abort in rio info on float.tif and improve tests
2017-08-04 09:57:26 -07:00
Sean Gillies
4a1d94901a Merge pull request #1109 from brendan-ward/issue1107
Properly close destination dataset after copy operation
2017-08-04 09:36:37 -07:00
Brendan Ward
ea70487220 GDAL version issues in exception message 2017-08-03 21:09:13 -07:00
Brendan Ward
62b7c8041c Added fix for rio info abort and updated tests 2017-08-03 20:41:28 -07:00
Brendan Ward
4cc94aa446 Properly close destination after copy and change default param value 2017-08-02 21:56:03 -07:00
Brendan Ward
76d1bd83a1 Breaking test case for rio info on float.tif 2017-08-02 19:53:24 -07:00
Joris Van den Bossche
730c3b4408 DOC: wrong keyword in resample typo 2017-08-02 14:48:23 +02:00
Sean Gillies
92d5e811c6 Merge pull request #1085 from mapbox/issue1077
Add a block() method to dataset objects.
2017-07-31 14:58:19 -07:00
Sean Gillies
4727381842 Remove ul() method
Resolves #1100
2017-07-31 14:56:56 -07:00
Sean Gillies
bc3ea193a3 Merge branch 'master' into issue1077 2017-07-31 14:46:34 -07:00
Sean Gillies
42ee69134a Merge pull request #1084 from mapbox/issue1082
Eliminate use of deprecated boundless keyword
2017-07-31 14:40:25 -07:00
Sean Gillies
7943e538b6 Merge branch 'master' into issue1082 2017-07-31 14:40:03 -07:00
Sean Gillies
5eea4fcdf0 Return of attrs 2017-07-31 13:58:30 -07:00
Sean Gillies
9e7de93725 Update change log for #1103, #1104 2017-07-31 13:51:21 -07:00
Sean Gillies
8c097554ef Remove BlockInfo class and attrs 2017-07-31 13:45:40 -07:00