Closed nipnipj closed 1 year ago
No, geom_sf
is not compatible with this package, so you either have to use geom_sf()
only, and not this package, or use this package only, and not geom_sf()
. But that just means intead of
map + geom_sf(data = dt_points)
you just need
map %>% add_osm_objects(data = dt_ponts)
(You also need to assign st_crs
to dt_points
before doing that , for example st_crs(dt_points) <- st_crs(dat_H)
.)
Thank you!
Can I use a
geom_sf
layer on a map created withosmplotr
? I'm trying the following.I'm getting
Error: Discrete value supplied to continuous scale
as error message, tho.