3353 Commits

Author SHA1 Message Date
Alan D. Snow
cda2242f34
BUG: Fix setup.py clean (#2214) 2021-06-21 10:49:50 -06:00
Alan D. Snow
3b071cdc9f
ENH: WarpedVRT - pass warp_extras into _calculate_default_transform (#2207) 2021-06-18 10:30:46 -06:00
Alan D. Snow
22248a3b20
ENH: Add antimeridian support for transform_bounds() (#2208)
* ENH: Add antimeridian support for transform_bounds()

* DOC: update docstring about antimeridian support
2021-06-18 09:36:32 -06:00
Alan D. Snow
cb4cfa9fc4
ENH: Add transformer_options to WarpedVRT (#2195)
* ENH: Add transformer_options to WarpedVRT

* REF: Merge transformer_options into warp_extras
2021-06-18 09:18:53 -06:00
Alan D. Snow
3ed1b74c33
ENH: Improve support for gcps/rpcs with WarpedVRT (#2193)
* ENH: Improve support for gcps/rcps with WarpedVRT

* TST: rcps -> rpcs
2021-06-18 09:12:41 -06:00
Sean Gillies
403983524e Add a comment about purpose of file, upgrade click 2021-06-11 09:50:23 -06:00
Sean Gillies
37a2c4e2e3 Remove reference to requirements.txt from readme 2021-06-11 07:27:25 -06:00
Idan Miara
f9225ea2a9
rasterio/_warp.pyx - remove deprecated parameters that were marked to be removed in 1.1 (#2197)
* tests/test_warpedvrt.py - use non deprecated parameters and remove `test_deprecated_param` which is not applicable anymore

* rasterio/vrt.py, rasterio/_warp.pyx - remove deprecated parameters that were marked to be removed in 1.1

* CHANGES.txt - add: WarpedVRT: Remove deprecated dst_* parameters (#2197).
2021-06-09 14:38:49 -06:00
Sean Gillies
6f069deaf2
Update CONTRIBUTING.rst 2021-06-09 14:37:47 -06:00
Idan Miara
14834341f2
docs/topics/switch.rst - update the section abound bands (#2201) 2021-06-09 09:45:48 -06:00
Idan Miara
69305c72b5
update the docs for dropping Python < 3.6 support (#2196) 2021-06-05 15:21:08 -06:00
Idan Miara
cb2932247e
CONTRIBUTING.rst - update Git Conventions with post 1.0 version tag/release (#2198) 2021-06-05 15:14:12 -06:00
Sean Gillies
7d90213ca0 Import boto3 2021-06-03 10:58:27 -06:00
Sean Gillies
789b515c10 Skip test if we have no AWS credentials 2021-06-03 10:35:32 -06:00
Sean Gillies
e2add64321 Remove conflict cruft 2021-05-31 17:14:37 -06:00
Sean Gillies
02d65cfd16 Finish merge of 1.2.4 2021-05-31 17:10:57 -06:00
Sean Gillies
2de62d2ead Merge tag '1.2.4' 2021-05-31 16:26:51 -06:00
Sean Gillies
79971ce33d 1.2.4 1.2.4 2021-05-31 14:18:58 -06:00
Sean Gillies
754930309b
Eliminate unneeded IgnoreOption (#2191)
* Eliminate unneeded IgnoreOption

* Note CLI option bug fix
2021-05-31 14:13:13 -06:00
Sean Gillies
09fc48265a Guard against gauss resampling
Resolves #2190
2021-05-29 17:05:20 -06:00
Sean Gillies
74b60a325f Guard against read/write buffer shape mismatches
Resolves #2189
2021-05-29 16:06:56 -06:00
Sean Gillies
61ff96232f Change comparisons of nodata to IgnoreOption for click 8.0
Resolves #2188
2021-05-28 15:08:36 -06:00
Sean Gillies
a8190243c8
Use default Window constructor instead of Window.from_slices in union() (#2186)
* Use Window ctor instead of from_slices in union()

Resolves the issue reported in #2177

* Update version and change log
2021-05-26 11:51:29 -06:00
Sean Gillies
7114fb7fb5
Save GDAL CInt16 data (#2185)
* Save GDAL CInt16 data

* _getnpdtype translates "complex_int16" to complex64.
2021-05-25 21:41:40 -06:00
Sean Gillies
124752017f Revert to EPSG:3857 2021-05-25 21:21:34 -06:00
Sean Gillies
9f6d98ffcc Mark aligned pixels test xfail
PROJ 8 has new mercator projection code

Also avoid a warning from merge()
2021-05-25 21:08:24 -06:00
Sean Gillies
cc14a62406 Test against PROJ 8 2021-05-25 16:55:39 -06:00
Sean Gillies
72a894589b Skip merge sources that don't overlap the destination 2021-05-20 16:16:08 -06:00
Sean Gillies
603c186469 Note fix of #2179 2021-05-20 15:15:20 -06:00
Sean Gillies
60d4ed4114 Allow unsafe casting again
Resolves #2179
2021-05-20 15:11:20 -06:00
Sean Gillies
df446d4cc8 Check signed byte values read 2021-05-20 14:54:59 -06:00
Alan D. Snow
abb9f6c6b6
Exclude C files from the distribution (#2130) 2021-05-17 12:11:56 -06:00
Sean Gillies
fa7153dfa5 Update change log 2021-05-04 10:06:27 -06:00
Ryan Grout
603908e049
Add docstring to BoundingBox and remove subclass. (#2172)
* Add docstring to BoundingBox and remove subclass.

* Remove unused import.
2021-05-04 10:04:35 -06:00
Sean Gillies
5e3fa33943 Merge tag '1.2.3' 2021-05-03 12:53:09 -06:00
Ryan Grout
0204f1fb83
Resolve numpy deprecation warnings in tests (#2170)
* Fix np.bool deprecation warning

* Fix np.int deprecation warning.

* Remove extra space.
2021-05-03 12:44:05 -06:00
Steven Pestana
48af488f9b
Improve warp.reproject and enums.Resampling docs (#2166)
* Add inline descriptions from gdalwarp

Add short descriptions of each resampling method from gdalwarp.

If this isn't wanted, alternatively it might be a good idea to add a link to gdalwarp's resampling methods https://gdal.org/programs/gdalwarp.html#cmdoption-gdalwarp-r

* Add enums.Resampling reference to warp.resampling

Add enums.Resampling reference to warp.resampling parameters to try and clarify documentation.

* Remove redundant list

Removing the list of resampling methods, redundant if linking directly to enums.Resampling's list

Also add "int" back in for type

* Moving resampling method details to main docstring

* Update formatting to match docstring styleguide

Update formatting to match docstring styleguide https://numpydoc.readthedocs.io/en/latest/format.html#class-docstring

* Try to fix formatting with Notes section

* Update rasterio/enums.py

Co-authored-by: Sean Gillies <sean.gillies@gmail.com>
2021-04-30 10:33:39 -06:00
Sean Gillies
53a6a06074 Explicitly require setuptools 2021-04-28 11:25:41 -06:00
Tomáš Hrnčiar
b17b2e330e
Require setuptools, rasterio/rio/main.py and tests/test_cli_main.py import pkg_resources (#2168) 2021-04-28 11:21:16 -06:00
Sean Gillies
06a292dc5a Update mock_debian fixture 1.2.3 2021-04-26 16:43:00 -06:00
Sean Gillies
c923c03e3d Change super() usage to be Python 3 compatible only 2021-04-26 16:06:25 -06:00
Sean Gillies
0d16816389 Make _OverviewResampling enum "private" until 1.3.0. 2021-04-26 15:52:33 -06:00
Sean Gillies
beb50adb5b Use numpy.isclose when merging float data
Resolves #2163
2021-04-26 13:57:34 -06:00
Sean Gillies
36c64bcac9 Note change from #2157 2021-04-21 08:48:14 -06:00
Vincent Sarago
b834decc7b
add OverviewResampling enums and add RMS to the available resampling choice for overview (#2157)
* add OverviewResampling enums and add RMS to the available resampling choice for overview

* fix and parametrize

Co-authored-by: Sean Gillies <sean@mapbox.com>
2021-04-21 08:01:52 -06:00
Sean Gillies
daefe3c0fd Add more overview cases to one test, increase clarity of the other 2021-04-20 10:24:05 -06:00
Yann-Sebastien Tremblay-Johnston
8862df0693 don't check ERR_RAND and ERR_BIAS in test_rpcs (#2158) 2021-04-20 10:09:12 -06:00
Yann-Sebastien Tremblay-Johnston
d7be6a8210
don't check ERR_RAND and ERR_BIAS in test_rpcs (#2158) 2021-04-20 10:07:54 -06:00
Sean Gillies
0c5629f16d Add a 3.3 folder to mock_debian fixture 2021-04-19 17:07:38 -06:00
Sean Gillies
4f44939efa GDAL 3.2.1 -> 3.2.2 2021-04-19 17:03:53 -06:00