-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEM: Add support for GDAL vsicurl, vsizip support and avoid segfaults…
… with huge VRT datasets (#597) 1. Adds initial support to load super large DEM datasets by exposing an API to limit the size of the loaded DEM. 1. Adds an alternative way of loading datafiles that make use of features like `vsizip` and `vsicurl` that aren't true filepaths. 1. Adds a compiler warning for if you use new versions of GDAL, which will lose precision in the current implementation, and potentially misrepresent NoData values. * This could be taken out, but could be an issue instead. A printed warning could be ok. 1. Add a few asserts for safety to catch coding errors earlier 1. The user-configurable size limits can be used to prevent segmentation faults by loading too big of a raster dataset 1. FIxed overflow and segfault in RasterIO for massive DEM's and overflow risk in vector resize operations --------- Signed-off-by: Ryan Friedman <[email protected]> Signed-off-by: Ryan <[email protected]> Signed-off-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]>
- Loading branch information
1 parent
ad1d5ad
commit 85b12c6
Showing
6 changed files
with
192,170 additions
and
32 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
Oops, something went wrong.