Skip to content

Conversation

@petrasovaa
Copy link
Contributor

This fixes recently added support (#3565) for exporting distances together with horizon angles. The distance (horizon.length) needs to be saved when the angle is computed, it was growing during horizon search while the angle stayed the same. To clarify, this fixes newly created problem, it doesn't impact the angle computations.

@petrasovaa petrasovaa added the bug Something isn't working label Apr 12, 2024
@petrasovaa petrasovaa added this to the 8.4.0 milestone Apr 12, 2024
@petrasovaa petrasovaa self-assigned this Apr 12, 2024
@github-actions github-actions bot added raster Related to raster data processing Python Related code is in Python C Related code is in C module tests Related to Test Suite labels Apr 12, 2024
Copy link
Member

@wenzeslaus wenzeslaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that the variable was used in two different contexts and that's now untangled.

@petrasovaa petrasovaa merged commit 69fa8c1 into OSGeo:main Apr 18, 2024
@petrasovaa petrasovaa deleted the r.horizon-fix-distance-output branch April 18, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working C Related code is in C module Python Related code is in Python raster Related to raster data processing tests Related to Test Suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants