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

add function for measuring gradient at a given location over given interval #142

Open
smnorris opened this issue Jul 6, 2023 · 0 comments

Comments

@smnorris
Copy link
Owner

smnorris commented Jul 6, 2023

Something like this:

fwa_gradient(blue_line_key, measure, length)

Measure gradient along stream given by blue_line_key, from (measure - length / 2) to (measure + length / 2).

Relatively straightforward except:

  1. handle locations where location to extract elevation is outside of stream endpoints
  2. 1 is straightforward for most streams, but on cross-border streams the query gets awkward

Just implement with 1 for now.

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

No branches or pull requests

1 participant