Closed mpadge closed 3 years ago
Do you want me to have a dig into the respective code bases, to see what might be gleaned from the osmdata/dodgr approach for use in this little project?
Sure but not a priority I'd say. Polishing it up and comparing against peer reviewed methods of slope estimation, e.g. as in #5, is the priority for this project I think. And there other projects...
Awesome idea @Robinlovelace!! Great initiative leaping into this! Just wanted to say that
dodgr
has the ability to route with slopes onosmdata_sc
objects, and it looks like incorporating aspects of the approach used there would be useful here. Check the benchmark comparison:Created on 2020-05-01 by the reprex package (v0.3.0)
The
dodgr
approach is something like 100 times faster. That is admittedly not yet the actual slopes, but the benefit of theSC
approach is that slope calculation is then just a simpledplyr::left_join
of two tables, and so is effectively free in terms of computation time. So you'll still end up around 100 times faster. Do you want me to have a dig into the respective code bases, to see what might be gleaned from theosmdata
/dodgr
approach for use in this little project?