Sean Gillies
14192e3368
Add resampling
2023-05-27 19:22:32 -06:00
Sean Gillies
8c96ff3f08
Remove unused imports
2023-05-26 16:58:06 -06:00
Sean Gillies
54b21eea34
Back out VirtualDataset
2023-05-25 20:21:09 -06:00
Sean Gillies
bf1ad79fa2
Ensure MemoryFile is removed
2023-05-25 20:21:07 -06:00
Sean Gillies
2d03100fcc
Prototype of VirtualDataset class
2023-05-25 20:17:54 -06:00
Sean Gillies
052057b8d9
Treat XML as UTF-8 encoded bytes
...
Allow rasterio.open to take XML bytes as well as unicode strings.
2023-05-25 20:17:06 -06:00
Sean Gillies
ec8bb3504a
VRT form of merging
...
Instead of GDALBuildVRT
Resolves #2573
2023-05-25 20:17:03 -06:00
Sean Gillies
4285315fe2
Update governance.md
...
Rasterio, not Numpy, in the first paragraph.
2023-05-23 14:58:30 -06:00
Sean Gillies
ccca0cb9be
Merge tag '1.3.7' into main
2023-05-22 18:05:41 -06:00
Sean Gillies
800351e4fa
This is 1.3.7
1.3.7
2023-05-22 14:15:57 -06:00
Sean Gillies
5dd56f352e
Extend sieve's input to allow opened datasets and multiband objects ( #2838 )
...
* Extend sieve's input to allow opened datasets and multiband objects
Resolves #2782
* Remove commented code, clean up imports
2023-05-22 14:14:58 -06:00
Sean Gillies
78fc94a6e5
Reformat docstrings
2023-05-19 12:33:32 -06:00
Pieter Roggemans
cb9380f9d1
DOC: improve doc for window.round_lengths and round_offsets ( #2795 )
2023-05-19 12:32:37 -06:00
Pieter Roggemans
ff8c22e058
DOC: improve doc for window.round_lengths and round_offsets ( #2795 )
2023-05-19 12:32:12 -06:00
Sean Gillies
48847d7248
Allow color values greater than 256 in colormaps ( #2837 )
...
Also improve the docstring of write_colormap and write_mask
Resolves #2769
2023-05-19 12:28:47 -06:00
Sean Gillies
01282c9ee2
uint64 is GDAL data type 12 and int64 is 13 ( #2836 )
...
Resolves #2663
2023-05-19 11:10:12 -06:00
Sean Gillies
24e2cd4bc0
Remove unused import and deprecated usage
2023-05-19 10:32:22 -06:00
Sean Gillies
bfe032af44
Fix typo
2023-05-19 10:25:21 -06:00
Sean Gillies
dce1c75880
Don't split on a "!" within a URI's userinfo subcomponent
...
Resolves #2776
2023-05-19 10:22:50 -06:00
Sean Gillies
c2e9e22b83
Add rio-blocks documentation ( #2835 )
...
* Add rio-blocks documentation
Remove notes about additions before 1.0.
Resolves #2570
* Note fix for #2570
* Update change log
* It's rio blocks, no rio shapes
2023-05-18 17:50:06 -06:00
Sean Gillies
578a3c5bfc
Int8 related backports from main ( #2834 )
...
* Take into account GDAL >= 3.7 GDT_Int8 signed int8 datatype (fixes #2635 ) (#2656 )
* ENH: Added int8 dtype to rasterize (#2780 )
---------
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
2023-05-18 13:33:53 -06:00
Alan D. Snow
5f7d3e6d35
BUG: Use numpy.asanyarray instead of numpy.array(..copy=False) ( #2805 )
2023-05-18 13:21:09 -06:00
jbutle55
74f8a34983
Change calculate_default_transform docstring to clarify the third and fourth required parameters are the source raster width and height. Fixes issue #2295 . ( #2814 )
2023-05-16 21:58:50 -05:00
Alan D. Snow
bfd776b61f
CI: Add GDAL 3.7 to the test matrix ( #2833 )
2023-05-16 21:58:16 -05:00
Sean Gillies
b9951df81a
Fix the nodata mask value in sample_gen() ( #2832 )
...
Resolves #2830
2023-05-16 16:21:53 -06:00
Sean Gillies
089cd160f6
Turn down logging level for non-existing files in the Python file VSI plugin ( #2827 )
...
* Use GDAL_PAM_ENABLED=False in combo with FilePath
Resolves #2826
* Turn down logging level in Python File VSI plugin callback
* Rename test, add missing details to FilePath docstring
* Note fix for 2826
2023-05-15 17:56:27 -06:00
Sean Gillies
6d21d4194b
Update installation.rst
...
Update based on the fresher instructions in the maint-1.3 branch.
2023-05-10 16:42:32 -06:00
Sean Gillies
9d9a6f3996
Update installation.rst
...
--no-binary rasterio
2023-05-10 16:38:17 -06:00
Sean Gillies
e056a3ee11
Update installation.rst
...
Updated installation instructions based on the refreshed fiona 1.9 instructions.
2023-05-10 16:36:48 -06:00
Sean Gillies
ca5b48c5d8
Update installation.rst
...
Also for OS X
2023-05-10 09:02:34 -06:00
Sean Gillies
b91ae63021
Update installation.rst
...
Recommend --no-binary rasterio when installing from an sdist.
2023-05-10 09:01:48 -06:00
stonebig
1b03e6eb8c
DOC: Windows Binaries are now on the official pypi channel ( #2821 )
2023-05-03 15:43:47 -05:00
jbutle55
3c91e032aa
Fix quickstart documentation mixing up column and row position of matrix. Fix for issue #2582 ( #2813 )
2023-04-26 19:00:31 -06:00
Sean Gillies
74c4a7c93a
Adapt tests to work with GDAL 3.7 changes around SIGNEDBYTE
2023-04-26 09:21:45 -06:00
Sean Gillies
9059c3ac00
Full support for signed byte data from GDAL 3.7
2023-04-25 17:40:49 -06:00
Sean Gillies
fbdc164480
Update change log and dev version
2023-04-25 14:35:14 -06:00
Daniel Evans
e9c3dbad49
Fix calculation of bounds in transform.array_bounds ( #2790 )
...
Fixes #2787 .
The method of computing raster bounds in `rasterio.transform.array_bounds`
assumes a standard GIS orientation of the image - origin bottom left, north
up, east right. If the image is rotated in any way, the returned bounds
may be in the correct order (e.g. `east` is west of `west`), or may
be entirely incorrect.
Replace the current implementation with the more general calculation used
in DatasetBase.bounds. Add an array of tests to both implementations,
passing in various transforms.
2023-04-25 14:29:29 -06:00
Daniel Evans
09c3fe2a9d
Fix calculation of bounds in transform.array_bounds ( #2790 )
...
Fixes #2787 .
The method of computing raster bounds in `rasterio.transform.array_bounds`
assumes a standard GIS orientation of the image - origin bottom left, north
up, east right. If the image is rotated in any way, the returned bounds
may be in the correct order (e.g. `east` is west of `west`), or may
be entirely incorrect.
Replace the current implementation with the more general calculation used
in DatasetBase.bounds. Add an array of tests to both implementations,
passing in various transforms.
2023-04-25 14:21:22 -06:00
Vincent Sarago
b83db94b2a
Merge pull request #2809 from vincentsarago/DstAlphaWarpedVRT
...
add dst_alpha option to WarpedVRTReaderBase
2023-04-18 09:34:19 +02:00
vincentsarago
e0facd4fcd
update docstring
2023-04-13 22:00:21 +02:00
vincentsarago
9064fabeeb
add tests
2023-04-13 21:29:33 +02:00
vincentsarago
4de5754e52
add dst_alpha option to WarpedVRTReaderBase
2023-04-13 17:54:17 +02:00
Alan D. Snow
d008e8aab3
CI: test with GDAL 3.6.3 & PROJ 9.2.0 ( #2788 )
...
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2023-04-08 11:59:54 -05:00
Alan D. Snow
acef4a8f55
TST: Update test_transform_bounds_densify to match GDAL ( #2804 )
2023-04-03 20:44:44 -05:00
Alan D. Snow
1f521b9162
CI: Use ghcr.io/osgeo/gdal docker image ( #2803 )
2023-04-03 20:33:00 -05:00
Alan D. Snow
c84d8db010
DOC: Consolidate intallation instructions ( #2793 )
2023-03-27 19:03:45 -05:00
Alan D. Snow
62fe00a387
DOC: Add tips for conda installation ( #2792 )
...
* DOC: Add tips for conda installation
---------
Co-authored-by: Pieter Roggemans <pieter.roggemans@gmail.com>
2023-03-27 19:03:01 -05:00
Alan D. Snow
0feec99977
DEP: pin GDAL 3.4 environment.yml for RTD build
2023-03-20 14:59:11 -05:00
Alan D. Snow
ca61765da3
DEP pin GDAL 3.5 environment.yml for RTD build
2023-03-20 14:53:59 -05:00
Joel Jaeschke
fa7d6823dc
ENH: Added option to change merge strategy in CLI ( #2723 )
2023-03-20 09:57:28 -05:00