powered by
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().
sf::st_point_on_surface()
sf::st_centroid()
check_polygon(geometry)
Point geometry
an sfc object