stplanr icon indicating copy to clipboard operation
stplanr copied to clipboard

Bike routing profile not working

Open Robinlovelace opened this issue 11 months ago • 4 comments

Robinlovelace avatar Jan 01 '25 18:01 Robinlovelace

As shown below:

> r_foot = route_osrm(from, to)
> r_bike = route_osrm(from, to, osrm.profile = "bike")
Error in open.connection(con, "rb") : 
  cannot open the connection to 'https://routing.openstreetmap.de/routed-bike/route/v1/driving/-1.54646277949532,53.8095165330639;-1.51673370812915,53.8288740914504?alternatives=false&geometries=geojson&steps=false&overview=full'
In addition: Warning message:
In open.connection(con, "rb") :
  cannot open URL 'https://routing.openstreetmap.de/routed-bike/route/v1/driving/-1.54646277949532,53.8095165330639;-1.51673370812915,53.8288740914504?alternatives=false&geometries=geojson&steps=false&overview=full': HTTP status was '502 Bad Gateway'
> r_car = route_osrm(from, to, osrm.profile = "car")

Robinlovelace avatar Jan 01 '25 18:01 Robinlovelace

It's an issue with their server:

https://routing.openstreetmap.de/routed-car/ is alive but https://routing.openstreetmap.de/routed-bike is not

Robinlovelace avatar Jan 01 '25 18:01 Robinlovelace

First spotted in the Geocomputation with R CI which uses the service: image

Robinlovelace avatar Jan 01 '25 18:01 Robinlovelace

Email sent to [email protected] based on https://openstreetmap.de/kontakt/

Robinlovelace avatar Jan 01 '25 18:01 Robinlovelace