* 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?)
* Rasterio 1.4a1
* Add an __init__.py to _vendor/
* Explicitly mention rasterio._vendor in package config
* Add missing pyparsing dependency (vendored snuggs)
* Update metadata and change log
* Set new release date
* use nodata value when provided in boundless vrt doc (#3026)
* Add some debugging output
* Temporarily increase log level
* Don't assert on dtype in rasterize
* New pre-release date
* Version is 1.4dev
---------
Co-authored-by: Sean Gillies <seangillies@Seans-MacBook-Air.local>
Co-authored-by: Vincent Sarago <vincent.sarago@gmail.com>
* 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.
* 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>
* 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>
* Various fixes to documentation
* Remove in-line shell prompts
* Fix rasterize shapes type
* Convert todo's to comments
* Revert back to todo directive
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>
* 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