complete_point_geometry {geodimension} | R Documentation |
Complete point geometry
Description
In case of having the polygon geometry defined, it obtains the point geometry from it.
Usage
complete_point_geometry(gl)
## S3 method for class 'geolevel'
complete_point_geometry(gl)
Arguments
gl |
A |
Details
If the point geometry was already defined, if there are instances with this geometry empty, it completes them.
Value
A geolevel
object.
See Also
Other geolevel definition functions:
add_geometry()
,
check_key()
,
coordinates_to_geometry()
,
geolevel()
,
get_empty_geometry_instances()
,
get_geometry()
Examples
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()
[Package geodimension version 2.0.0 Index]