When I run this code:
for(i in 1:29){
cat(paste(“Calculating isochrone for grocery stores in Henderson:”, i,“\n”))
res = ors_isochrones(
grocery_coords1[i, ],
range = 5*60,
profile = “foot-walking”,
output = “sf”)
Sys.sleep(1) # Pause for 1 seconds to avoid IP blocking
output = rbind(output, res) # Add the output incrementally
}
I get this error:
Error: Openrouteservice API request failed
[3099] Unable to build an isochrone map.