Pakillo/CityShadeMapper

Planning shade routes

Opened this issue · 2 comments

We need to find the best route between two points (ideally, two addresses or geoplaces as in Google Maps or Openstreetmap) with the conditions that

  • route must follow streets (ideally from OSM), i.e. not being a direct line between the two points. Must be possible to make it walking

  • route must minimize cost, in terms of selecting the most shaded routes as coming from the shade raster for that date and time

It looks like dodgr is the closest package, see https://atfutures.github.io/dodgr/articles/times.html. It can take an elevation raster into account (i.e. to minimize going up and down along the route). We need to check if it can also take other user-provided rasters as cost surfaces