complete_point_geometry | R Documentation |
In case of having the polygon geometry defined, it obtains the point geometry from it.
complete_point_geometry(gl)
## S3 method for class 'geolevel'
complete_point_geometry(gl)
gl |
A |
If the point geometry was already defined, if there are instances with this geometry empty, it completes them.
A geolevel
object.
geodimension
, relate_levels
Other geolevel definition functions:
add_geometry()
,
check_key()
,
coordinates_to_geometry()
,
geolevel()
,
get_empty_geometry_instances()
,
get_geometry()
layer_us_state <- get_level_layer(gd_us, "state")
state <-
geolevel(name = "state",
layer = layer_us_state,
key = "statefp",
snake_case = TRUE) |>
complete_point_geometry()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.