read_osm
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 43
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Hi there, i am having issues with the argument type="osm". Other types like "esri" work. Sorry if this is something easy, but i can't work out what is going on.
library(tmap)
library(tmaptools)
library(sf)
#> Linking to GEOS 3.6.1, GDAL 2.2.3, PROJ 4.9.3
tmap_mode("plot")
#> tmap mode set to plotting
data(NLD_muni)
NLD_bb <- bb(st_transform(NLD_muni, 4326))
test <- read_osm(NLD_bb, type = "osm")
tm_shape(test) + tm_rgb()
Gives error: Error in osmtile(x%%nX, y, zoom, type) : could not obtain tile: 130 82 8
Changing type to 'esri' works!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example using read_osm with type = "osm" and compare it with the working "esri" case. Start by tracing read_osm to the osmtile call shown in the error; done means the OSM example obtains its tiles without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100