Get the geometry of a layer, as it is interpreted to define a geolevel
object.
Details
It will only be valid if one of the three geometries is interpreted: point, line or polygon.
See also
Other geolevel definition functions:
add_geometry()
,
check_key()
,
complete_point_geometry()
,
coordinates_to_geometry()
,
geolevel()
,
get_empty_geometry_instances()
Examples
layer_us_county <- get_level_layer(gd_us, "county")
geometry <- get_geometry(layer_us_county)