3105 Commits

Author SHA1 Message Date
Guillaume Lostis
aabb4dd1ce
Resampling docs typo (#1902)
* Fix error in resampling example

* Fix typo in resampling doc

* Introduce sphinx autodoc links in resampling.rst
2020-04-14 13:50:43 -06:00
Sean Gillies
07b25aac52 Resolves #1830 2020-03-20 13:42:49 -06:00
Alan D. Snow
6c9816cb10
DOC: Update transform_geom docstrings for accepting/returning multiple geometries (#1888) 2020-03-17 10:46:16 -06:00
Sean Gillies
cc664822f9 Update another BadParameter test 2020-03-13 16:11:45 -06:00
Sean Gillies
9cb86d796c Make test compatible with click 7 and 7.1 2020-03-13 15:05:26 -06:00
Sean Gillies
d09fd7525a Adjust to changes in param_hint formatting in click 7.1.0
Resolves #1886
2020-03-13 14:53:12 -06:00
Sean Gillies
f1c681054e Resolves #1854 2020-03-13 10:31:47 -06:00
Sean Gillies
74bd625dfd Remove bogus change log entry [skip ci] 2020-02-25 21:20:33 -07:00
Sean Gillies
65757e96f9 Merge branch 'maint-1.1' 2020-02-25 11:47:07 -07:00
Bas Couwenberg
e855631fa7
Fix SyntaxWarning (#1874)
```
SyntaxWarning: "is" with a literal. Did you mean "=="?
```
2020-02-25 10:38:45 -07:00
Sean Gillies
830fe9d59a Merge branch 'maint-1.1' of github.com:mapbox/rasterio into maint-1.1 1.1.3 2020-02-24 17:57:06 -07:00
Sean Gillies
25135edda7 Update version and change log 2020-02-24 17:55:53 -07:00
Sean Gillies
fd37810a96
Don't tamper with alpha values between 0 and 255 (#1871)
Also clean up code in dataset_mask
2020-02-24 16:46:24 -07:00
Sean Gillies
a36e31a543 Raise RasterioIOError for failed creation of datasets in w mode
Resolves #1796
2020-02-24 16:44:09 -07:00
Sean Gillies
b50b1cca17 Ensure 255 and 0 for masks that have been resampled
Resolves #1721
2020-02-14 11:11:58 -07:00
Sean Gillies
d74afa1b0f Filter more categories of invalid geoms
Resolves #1815
2020-02-14 08:54:41 -07:00
Sean Gillies
78e05b0246 Remove doc testing 2020-02-14 07:53:55 -07:00
Sean Gillies
44e116fadd D'oh! Remove before_script. 2020-02-14 07:13:36 -07:00
Sean Gillies
45c1840d2f Enable doctests again 2020-02-13 18:20:30 -07:00
Sean Gillies
bd7b8dc5f1 Merge branch 'maint-1.1' 2020-02-13 18:15:36 -07:00
Sean Gillies
3a08dc3ac2 warn -> warning 2020-02-13 18:15:06 -07:00
Sean Gillies
2a6baa0038 Restore missing CliRunner 2020-02-13 18:08:56 -07:00
Sean Gillies
ef8b9c9680 Merge branch 'maint-1.1' 2020-02-13 17:28:53 -07:00
Sean Gillies
15bf16c653 Move all concerns about boto3 to rasterio.session 2020-02-13 15:57:12 -07:00
Sean Gillies
02d8483ace Merge branch 'maint-1.1' 2020-02-13 13:55:15 -07:00
Sean Gillies
0c7a2e2d4e Monkeypatch rasterio.env.boto3 in test 2020-02-12 17:00:57 -07:00
Sean Gillies
a414a780dc Import boto3 earlier so we can monkeypatch session's boto3 2020-02-12 16:26:31 -07:00
Sean Gillies
4a1fc97569 Fall back to DummySession for "s3" URIs when boto3 isn't there
Resolves #1864
2020-02-12 15:25:50 -07:00
Sean Gillies
adbd84893c Ensure boundless VRT uses shared=1
Resolves #1863
2020-02-12 10:40:37 -07:00
Sean Gillies
3a14bbbca1
Rewrite path parsing logic to handle "SENTINEL2_L1C:" paths (#1866)
* Rewrite path parsing logic to handle "SENTINEL_2:" paths

Resolves #1786

Has a small consequence for the CLI file_in_handler: we can no
longer fail early on some kinds of given paths.

* Remove commented code.

* Add support for python 2.7 string types
2020-02-11 19:32:05 -07:00
Pratik Yadav
69280e3b7e
alphabetic order of cli docs (#1865) 2020-02-11 16:09:57 -07:00
Alan D. Snow
94c0e54e03
optimized transform_geom for repeated transformations by allowing users to pass in geometry arrays (#1827) 2020-02-11 15:52:16 -07:00
Mike Taves
e4da775b15
Upgrade Travis CI testing against latest GDAL and PROJ releases (#1858)
* GDAL 3.0.1 -> 3.0.4
 * GDAL 2.4.3 -> 2.4.4
 * PROJ 6.1.1 -> 6.2.1
2020-02-11 15:51:18 -07:00
Sean Gillies
b911ea1699 Note required keyword args and common exception 2020-01-09 15:18:35 -07:00
Sean Gillies
17389b4837 Guard against undefined transform
Resolves #1857
2020-01-09 15:08:34 -07:00
Sean Gillies
b15a8f69f9 Note why shapes doesn't work with uint32 or float64
Final follow up on #1717.
2020-01-08 13:23:02 -07:00
Sean Gillies
3c6375aa88 Issue 1856, not 1846 2020-01-08 10:18:24 -07:00
Sean Gillies
07d47efa22 Resolve #1846 2020-01-08 10:16:30 -07:00
Guillaume Lostis
ef8a82fd08 Runner fixture (#1853)
* Use runner fixture in all tests

* Remove unused imports and args from some tests
2019-12-19 15:37:59 -07:00
Sean Gillies
0027034d9e Update version and change log 1.1.2 2019-12-18 15:23:42 -07:00
Sean Gillies
0e9dd47761
Fix broken sampling for WarpedVRT datasets (#1851)
Resolves #1833
2019-12-18 08:07:49 -07:00
Sean Gillies
d4e13f4ba4
Activate your conda environments 2019-12-16 14:29:17 -07:00
Sean Gillies
226e45cec6
Update faq.rst 2019-12-16 14:00:30 -07:00
Sean Gillies
1830c6b0bd Add out_dtype to WarpedVRTReaderBase.read()
Resolves #1849
2019-12-16 09:58:10 -07:00
Sean Gillies
edb2f30ac2 Add missing --format option to rio-calc
Partially resolving #1846
2019-12-13 15:36:45 -07:00
Sean Gillies
b669f4ddff
Fix bug in dataset_mask (#1848)
We'd missed the last band of the dataset in some cases.
2019-12-13 09:03:56 -07:00
Sean Gillies
4c2be42a5b Prevent rio-calc's cleanup from failing due to unbound vars 2019-12-08 09:34:44 -07:00
Daniel J. H
26191047cf Fixes calc cleanup failing when error occurs (#1842) 2019-12-08 09:12:51 -07:00
Daniel J. H
4e3c139aac Fixes calc cleanup failing when error occurs (#1842) 2019-12-08 09:11:47 -07:00
Sean Gillies
36eaebb4bc
Remove FeatureCollection from output GeoJSON types (#1841)
* Remove FeatureCollection from output GeoJSON types

This case is covered by the --sequence/--collection switch

Resolves #1807

* Update change log

* add tests

* Add tests from #1812
2019-12-07 14:02:28 -07:00