Open brry opened 5 years ago
library(osmplotr) bbox <- get_bbox(c(12.481225, 53.169504, 12.681225, 53.269504)); bbox dat_W <- extract_osm_objects(key="waterway", bbox=bbox, return_type="multilines") map <- osm_basemap(bbox=bbox, bg='gray95') map <- add_osm_objects(map=map, obj=dat_W, col="blue") # Error in geom_to_xy(obj, obj_type) : object 'xy' not found # obj_type is "multilinestring"
geom_to_xy has no code for obj_type=="multilinestring" https://github.com/ropensci/osmplotr/blob/master/R/add-osm-objects.R#L218
geom_to_xy
obj_type=="multilinestring"
wow, you're really on to it ... I'll dig into that asap - early next week. Thanks!
geom_to_xy
has no code forobj_type=="multilinestring"
https://github.com/ropensci/osmplotr/blob/master/R/add-osm-objects.R#L218