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
Sean Gillies
9d604ef76d
Add tests to guard against future regressions in from_bounds
2021-04-13 13:52:14 -06:00
Sean Gillies
7f286e0156
Fix regression reported in comments on #2138
2021-04-12 17:14:06 -06:00
Mike Taves
3c630f8a30
Python3 classes does not need to inherit from object ( #2150 )
2021-04-12 12:47:35 -06:00
Sean Gillies
0a838c088d
Make GDAL data search order consistent between _env and env mods
...
Also fix up logging
2021-04-07 09:36:34 -06:00
Sean Gillies
c7b2dfd1d8
Remove junk from change log
2021-04-07 07:47:06 -06:00
Sean Gillies
471cfb588a
Merge branch 'master' of github.com:mapbox/rasterio
2021-04-07 07:46:21 -06:00
Sean Gillies
fb725d8307
Merge branch 'maint-1.2'
2021-04-07 07:46:02 -06:00
Sean Gillies
c9b8144e44
Set date in change log
1.2.2
2021-04-06 20:15:05 -06:00
Sean Gillies
523818cf50
Fix change log
2021-04-06 18:35:59 -06:00
Sean Gillies
3e1765c5b3
Add a --nodata option to rio-clip
...
Resolves #2084
2021-04-06 18:32:58 -06:00
Sean Gillies
9b0e181264
Hide WarpedVRT boundless keyword arguments
...
Resolves #2084
2021-04-06 17:28:35 -06:00
Sean Gillies
55bce583d3
Allow src_crs to override the src crs
...
Resolves #2036
2021-04-06 16:47:32 -06:00
Sean Gillies
5b10c8d154
Raise exception when bounds and transform are not consistent
...
Resolves #2138
2021-04-06 16:07:57 -06:00
Sean Gillies
0813068912
Fix mask error in min and max merge algorithms ( #2145 )
...
* Fix mask error in min and max merge algorithms
Resolves #2135
* Note changes in #2145
2021-04-06 16:06:57 -06:00
Alan D. Snow
fde17af9e1
DEP: use oldest-supported-numpy in pyproject.toml ( #2143 )
2021-04-02 09:29:05 -06:00
Yann-Sebastien Tremblay-Johnston
8cb216ca83
wrap imports with add_dll_directory if win and python >= 3.8 ( #2129 )
...
add newline to EOF
instead of env var, fallback to glob for gdal*.dll in PATH
update changelog
remove backtick
Co-authored-by: Sean Gillies <sean@mapbox.com>
2021-03-31 13:10:22 -06:00