* Port of Pyopener VSI plugin improvements in Fiona 1.10b2
* Don't use cpp flags for _vsiopener
* Update change log
* Update rasterio/_vsiopener.pyx
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
* Add threading and registration tests
---------
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
* Update change log and version for 1.4a3
* xfail complex merge test with GDAL 3.8+
* Remove can_cast, add some debug logging to read()
* Add importlib-metadata to requirements for Python 3.9
* Rename VSI prefix to vsiriopener
* Update version
* 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>
* 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>
* Rough draft of a new VSI plugin
Resolves#2888 maybe
* Getting closer
* Working implementation!
The missing piece was keeping a reference to opened files.
* Add more tests
* Add more documentation about opener
* Improvements based on feedback from @rouault
* Update docstrings
* Update the VSI topic in docs
* Don't accept fsspec OpenFile instances as opener
Instead, we'll make a way for rasterio.open to accept them as the
"fp" positional argument
* Store contexts of vsipyopener file objects
Eliminates the fsspec OpenFile special case
* Strip file mode for the zipfile case
* Update rasterio/_vsiopener.pyx
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
---------
Co-authored-by: Sean Gillies <seangillies@Seans-MacBook-Air.local>
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
* Merge _crs into crs
CRS is an extension class now, with improved documentation. The
test__crs.py file is obsolete and has been deleted.
I piggy-backed some API doc changes onto this. We now generate
API docs from scratch every time and have removed the .rst files
from the repo. The crs module now uses the embedsignature Cython
directive, which we should do for other extension modules.
* Include private modules
* Restore API docs
We'll remove them in a different branch.
* Update docs/index.rst
* Handle OverflowError from <int>code
Also repair chunks missed in rebase
* Initial proof of concept for Python file-like VSI handler
* Add GDAL VSI Plugin definitions to gdal.pxi [skip ci]
* Add proof of concept pyvsi with GDAL Plugin API [skip ci]
* Add global filesystem state to PyVSI plugin
* Add close function handler to pyvsi plugin
* Move cython language definition to cython module
* Switch _pyvsi extension to use cpp compile options
* Add pyvsi_ prefix to GDAL callback functions to avoid collisions
* Add basic information to _pyvsi module docstring
* Remove ability to open PyVSIFile as writable
* Remove unnecessary code from PythonVSIFile
* Match new code style used in MemoryFile
* Fix PythonVSIFile argument passing to __init__
* Update memoryfile tests to use pytest fixtures instead of hardcoded paths
* Add read method to PythonVSIFile
* Add PythonVSIFile tests
* Fix xfail reason on pyvsi test
* Add concurrent pyvsi test
* Add flexible PythonVSIFile plugin importing for GDAL<3.0
* Remove legacy 'ext' keyword argument for PythonVSIFile interface
* Rename "PyVSI" to "FilePath" and remove unnecessary methods
* Rename other instances of pyvsi to filepath
* Rename other instances of pyvsi to filepath
* Use compile_time_env in place of shims
* Update setup.py to require cython
* remove sdist_fill
* update MANIFEST
* Remove support for GDAL < 2.3
* Remove rasterfill.cpp