Skip to content
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

Raise warning for DEM in geographic coordinates for some terrain attributes #634

Open
adehecq opened this issue Nov 2, 2024 · 1 comment
Labels
enhancement Feature improvement or request

Comments

@adehecq
Copy link
Member

adehecq commented Nov 2, 2024

Some terrain attributes like slope do not make sense when the DEM is in geographic (lat/lon) coordinates. It would be great to raise a warning in such situations.
For hillshades, it is also not very good as the appearance will be very different (darker) with lat/lon. We could automatically detect this and apply the right correction factor as suggested in "gdaldem hillshade": for Meters:LatLong use scale=111120.

@adehecq adehecq added the enhancement Feature improvement or request label Nov 2, 2024
@rhugonnet
Copy link
Member

Good idea! We also discussed modifying the error in NuthKaab for geographic coordinates into warning for #623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature improvement or request
Projects
None yet
Development

No branches or pull requests

2 participants