Questions tagged [osmdata]

R package for OSM data.

osmdata is a R package for downloading and formatting OpenStreetMap data in R.

5 questions
2
votes
1 answer

R osmdata: get other_tags as columns

I would like to use osmdata and get the other_tags as explicit columns. Example code: library(osmextract) library(osmdata) itsleeds = oe_get("ITS Leeds") oe_get_keys(itsleeds) I am interested in extracting the other_tags col from itsleeds…
tzema
  • 451
  • 3
  • 11
1
vote
0 answers

can't download packages in R

I've been trying to install some new packages on R, one of them being 'osmdata'. When I install it, I get this error: Do you want to attempt to install these from sources? (Yes/no/cancel) no installing the source package ‘reproj’ trying URL…
0
votes
1 answer

Impossible to plot OSM multipolygons in tmap and leaflet

I'm extracting data from OpenStreetMap using osmdata, and from the query I get a set of points, lines, polygons, and multipolygons. Somehow, when trying to plot multipolygons, leaflet and tmap do not find them, while using plot(st_geometry(...))…
Maël
  • 45,206
  • 3
  • 29
  • 67
0
votes
1 answer

Umlaute not displayed correctly with osmdata

I am having troubles with the German Umlaute (ä, ü, ö) and other signs when using osmdata in R. I can successfully get the data via query (notice the Ü in the bounding box in the first line, it is working…
BanffBoss122
  • 149
  • 9
0
votes
1 answer

Problem with plotting a polygon with ggplot + osmdata

I have a problem working with plotting a polygon obtained by osmdata. First, I get the polygon of the object using this code library(osmdata) loespejo_mersal <- opq_osm_id (type = "way", id = 39259197)%>% opq_string () %>% osmdata_sf () And i got…