unname_osmdata_sf {osmdata}R Documentation

unname_osmdata_sf

Description

Remove names from 'osmdatageometry objects, for cases in which these cause issues, particularly with plotting, such as \url{https://github.com/rstudio/leaflet/issues/631}, or \url{https://github.com/r-spatial/sf/issues/1177}. Note that removing these names also removes any ability to inter-relate the different components of anosmdata' object, so use of this function is only recommended to resolve issues such as those linked to above.

Usage

unname_osmdata_sf(x)

Arguments

x

An 'osmdata_sf' object returned from function of same name

Value

Same object, yet with no row names on geometry objects.


[Package osmdata version 0.1.3 Index]