get_geometry | R Documentation |
Get the geometry of a layer, as it is interpreted to define a geolevel
object.
get_geometry(layer)
layer |
A |
It will only be valid if one of the three geometries is interpreted: point, line or polygon.
A string.
Other geolevel definition functions:
add_geometry()
,
check_key()
,
complete_point_geometry()
,
coordinates_to_geometry()
,
geolevel()
,
get_empty_geometry_instances()
layer_us_county <- get_level_layer(gd_us, "county")
geometry <- get_geometry(layer_us_county)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.