UrbanAnalyst / dodgr

Distances on Directed Graphs in R
https://urbananalyst.github.io/dodgr/
128 stars 16 forks source link

General overpass server error #221

Closed LinhLTP closed 10 months ago

LinhLTP commented 10 months ago

Hi everyone,

I am using dodgr for my work and encountered this issue:

image

Could anyone please give me some advice how to deal with this issue?

Much appreciated!

LinhLTP commented 10 months ago

I try to use this code, but the issue can not be solved.

image

Much appreciated if anyone can give me any advice!

mpadge commented 10 months ago

That error is unfortunately most likely https://github.com/ropensci/osmdata/issues/170, so not related to this package, or {osmdata} which is used to get the data. The best advice i can give is to ensure all packages are up to date. You should see something like this:

library(dodgr)
library(osmdata)
#> Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
packageVersion("dodgr")
#> [1] '0.3.0.8'
packageVersion("osmdata")
#> [1] '0.2.5.5'

Created on 2024-01-17 with reprex v2.1.0 If the error still persists, you can only really wait and hope that something on the server side resolves itself. The overpass server which delivers the data implements all kinds of clever request throttling based on IP address, current and previous loads, Any queries from you IP address rejected or throttled there will generate that error. I'll close now, but feel free to ask any further questions.

LinhLTP commented 10 months ago

Thank you so much for your advice @mpadge