-
Notifications
You must be signed in to change notification settings - Fork 34
Add GDALViewshedGenerate binding #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
9c97962
Implement `GDALViewshedGenerate` binding
pericles-tpt f43b9a5
Implement `Viewshed` go function
pericles-tpt f14b181
Add first Viewshed test (not working yet)
pericles-tpt 6baaabe
Replace `TestViewshedAllVisible` with more comprehensive `TestViewshe…
pericles-tpt cb15f6d
Add missing documentation comments
pericles-tpt c41d8a2
Temporarily enable "github workflows" for `viewshed` branch
pericles-tpt 6ec4f2e
Add check to viewshed test to ensure 'scope 2' only runs when GDAL ve…
pericles-tpt b3facee
Only allow 'dem' height mode in go binding function when GDAL version…
pericles-tpt 8242bc7
Add preprocessor check ensuring `GDALViewshedGenerate` only runs with…
pericles-tpt ab287ff
Fix incorrect `godalViewshed` function naming
pericles-tpt b796ab8
Add checks to `Viewshed` for conditions where `godalViewshedGenerate`…
pericles-tpt b8f67d8
Add error to `Viewshed()` for the "unsupported GDAL version" condition
pericles-tpt f8d0dd0
Add checks for "invalid GDAL version" errors to `TestViewshedSimpleHe…
pericles-tpt d3d1718
Fix `godalViewshedGenerate` using unsupported enums for GDAL < 3.1.0
pericles-tpt 2148307
Fix late error for "GDAL version < 3.1.0" condition
pericles-tpt 0c11cfb
Disable "github workflows" for `viewshed` branch
pericles-tpt 862bbeb
Move `forceError()` out of `#if` block
pericles-tpt cb219cc
Use `ErrorHandler` on all branches of `TestViewshedSimpleHeight`
pericles-tpt 82f2df3
Add `TestViewshedCreationOptions` to test valid/invalid creation options
pericles-tpt 14c242c
Maybe fix 'scanline size' error and add "CreationOptions + ErrLogger"…
pericles-tpt b6ff5fd
Minor change
pericles-tpt 9f67065
Add missing "min version" checks to `TestViewshedCreationOptions`
pericles-tpt f67b649
Remove `ErrLogger` from `ViewShed()` call where it's not used
pericles-tpt 5a79c47
Add error for "minimum GDAL version for viewshed" check
pericles-tpt 062d772
Remove GDAL version checks for < 3.4.2
pericles-tpt c57f4d1
Remove GDAL version checks for < 3.4.2 (in tests)
pericles-tpt f1b37dd
Replace "min version" checks in `Viewshed()` with a comment documenti…
pericles-tpt eab0388
Remove assert for error that was removed
pericles-tpt 536a9e6
Add checks for tests that fail when GDAL version < 3.4.2, add back er…
pericles-tpt 223ebd5
Add GDAL version < 3.1.0 check to `TestViewshedCreationOptions`
pericles-tpt 46da29d
Change `Viewshed()` to a method on `Band()` and convert most of its p…
pericles-tpt 5e8164e
Remove "min version 3.1.0" checks
pericles-tpt f38e1df
Add missing `Close()` calls for datasets in Viewshed tests
pericles-tpt 8f9c622
Add list of available `ViewshedOption`s to `Viewshed` documentation c…
pericles-tpt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.