R/ltn.R
ltns.Rd
R interface to the CycleStreets.net LTN. See ltn API docs and an article on the methods for further details: https://www.cyclestreets.org/news/2021/07/25/mapping-ltns/
ltns(bb, pat = Sys.getenv("CYCLESTREETS"))
An sf or 'bounding box' like object
The API key used. By default this uses Sys.getenv("CYCLESTREETS")
.
if (FALSE) {
bb = "0.101131,52.195807,0.170288,52.209719"
ltn_data = ltns(bb)
plot(ltn_data)
bb = stplanr::routes_fast_sf
ltn_data = ltns(bb)
plot(ltn_data)
}