* ENH: enable support for more dtypes in features.shapes
* Update CHANGES.txt
* int8 needs gdal 3.7
* Add extra types to docstring
* Apply feedback: int8 only from version 3.7
* Re-enable non-string dtype for rasterize()
A test that passed but wasn't testing what it claimed to test has
been deleted.
Resolves#3043
* Update change log and version
* Switch to more explicit if/elif/else for dtype logic
Also fix a URL in a test that recently broke (fsspec change maybe?)
* Simplify rasterize by restricting default output to float64/int64
Like numpy.array(). This allows us to deprecate several dtype
helper functions.
GDAL 3.5 doesn't support int64, so we will replace with int32.
* Remove another helper.
* Enable fallback to uint32 for GDAL 3.5
Address other tests failing on 3.4
* Remove unneeded tests, parametrize some.
* Remove unused import.
* Add change log entry.
* Spelling correction.
* Update version and change log
* RTD version 2
* Require Cython < 3
* Remove extra _matches function
* Skip a few tests if shapely cannot be imported.
Add "python_version < '3.12'" to test's shapely requirement. There
are no shapely wheels for 3.12 yet.
* Relax numpy requirement for installation
* Add a backend section
* With build isolation
* Require setuptools >= 67.8
* Update change log, this is 1.3.8.post1
* Bump to next dev version
* Add sphinx-rtd-theme dependency
---------
Co-authored-by: Sean Gillies <seangillies@Seans-MacBook-Air.local>
* 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>
* Pass along strides to GDAL in MemoryDataset #2511
when given non-contigous array on output pass along strides
information to GDAL.
* Add test for #2509
* Update changes.txt
Co-authored-by: Kirill Kouzoubov <Kirill888@gmail.com>
* ENH: Add support for Int64 & UInt64 for GDAL 3.5+
* Use ubuntu-small, not full, also xfail a test for GDAL 3.5.0
Co-authored-by: snowman2 <alansnow21@gmail.com>
* Switch sharing kwarg default to False
Resolves#1705
* Replace GDALOpenShared with GDALOpen except in one shim
* Revert two open_dataset to GDALOpen
* Run tests under gdb
* Increment ref count in WarpedVRTBase
* Open a new dataset handle in WarpedVRT
* Remove gdb
* Remove exceptions from open_dataset in _shim1
Makes usage much easier
* Fix in-memory dataset leaks in _reproject
* Raise warnings rather than exceptions for invalid / empty shapes in rasterize
* Add test for geo interface for is_geom_valid and fix for travis builds
--no-use-pep517 flag for pip install of local environment is needed to get pip install working
* Make warning for invalid / empty geometry in rasterization more clear
New Env class and tests.
More logging, tests, safer environment
Remove usage (deprecated) of rasterio.drivers()
Also pep8 cleanups throughout the tests and a fix for unchecked
dtypes when opening a dataset in 'w' mode.
Now we can simply import warnings in __init__.py. In the
deprecations tests, we needed to see a single warning only one
time to avoid multiple drivers() warnings.
Add a global env.
Add rasterio.env.setenv()