Skip to contents

Obtain point geometry from polygon geometry.

Usage

get_point_geometry(layer)

Arguments

layer

A sf object.

Value

A sf object.

Examples


layer <-
  get_point_geometry(us_layer_state)