-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install new VSI plugin handler for every instance of using an opener (#…
…1408) * Set defaults for pyopener registry contextvar get() Resolves #1406 * Install a new VSI plugin handler for every instance Plugin handler installation is implicit and hidden from the API user, but could be exposed in the future if needed. Resolves #1406 * Add opener support to listdir(), listlayers(), and remove() This involves adding GDAL callback support for unlinking VSI files and also a major stat() bug fix. * Adjust expectation of number of files * Clean up * More cleanup and change log update
- Loading branch information
Showing
11 changed files
with
552 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
from libc.stdio cimport * | ||
|
||
cdef extern from "cpl_vsi.h": | ||
|
||
ctypedef FILE VSILFILE | ||
include "gdal.pxi" | ||
|
||
cdef extern from "ogr_core.h": | ||
|
||
ctypedef int OGRErr | ||
from libc.stdio cimport * | ||
|
||
cdef get_last_error_msg() | ||
cdef int exc_wrap_int(int retval) except -1 | ||
cdef OGRErr exc_wrap_ogrerr(OGRErr retval) except -1 | ||
cdef void *exc_wrap_pointer(void *ptr) except NULL | ||
cdef VSILFILE *exc_wrap_vsilfile(VSILFILE *f) except NULL | ||
|
||
cdef class StackChecker: | ||
cdef object error_stack | ||
cdef int exc_wrap_int(self, int retval) except -1 | ||
cdef void *exc_wrap_pointer(self, void *ptr) except NULL |
Oops, something went wrong.