check_polygon {sfdep} | R Documentation |
Checks geometry for polygons.
Description
If the provided geometry is a polygon, a point will be generated using sf::st_point_on_surface()
. If a centroid is preferred, a new column can be created that contains the output of sf::st_centroid()
.
Usage
check_polygon(geometry)
Arguments
geometry |
an sfc object |
Value
Point geometry
[Package sfdep version 0.2.5 Index]