Closed ghost closed 6 years ago
Confirmed. The cause of this is that the first hit for Seville is now in the USA. I think setting it to seville spain
or sevilla
will solve it. You can it's in the US by looking at the bbox:
library(osmdata)
#> Data (c) OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright
q1 <- opq("Seville") %>% add_osm_feature(key = "highway")
cway_sev <- osmdata_sp(q1)
q1$bbox
#> [1] "41.00518,-81.887443,41.03993,-81.849498"
Reproducible example created using reprex: https://github.com/tidyverse/reprex
When I attempt the following example from section 2.2: https://github.com/ropensci/osmdata/blob/master/vignettes/osmdata.Rmd
I'm getting the following error:
If I print the
cway_sev$osm_lines
object, I get the following output: