Skip to content

Comparison with river gradient technique #47

Description

@fiftysevendegreesofrad

Question - are you doing yourselves justice by saying slopes.R uses the method outlined in https://www.sciencedirect.com/science/article/pii/S0022169418304888?via%3Dihub ? it seems to me the latter breaks rivers into lengths no more than x metres long, then for each one subtracts minimum elevation from maximum, regardless of where on the segment the min/max occur and what happens in between them (though generally you would expect max to be at the start and min at the end, because rivers flow downhill, so if they occur at any other point you can view this as a sort of error correction). This is different to slopes which from what I can tell (?) interpolates each vertex on the linestring before computing a distance weighted mean/max/harmonic mean, hence it does not ignore any vertices on linestrings, though does ignore non-vertex points on linestrings. Thus the only thing slopes.R has in common with the river paper is that some points are ignored - but different points are ignored in each case. Have I understood correctly?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions