Creates a geometry column containing a tibble where each vertex is a row. st_dumppoints is useful for expanding geometries. It is the reverse of a GROUP BY in that it creates new rows. For example it can be used to expand MULTIPOLYGONS into POLYGONS.

st_dumppoints(x)

st_coordinates(x)

Arguments

x

Geometry sfc column

Value

A list of tibbles.

Details

st_coordinates returns a tibble containing coordinates, also some grouping features. POINT: .path = 1; MULTIPOINT: .path orders the points; LINESTRING: ``

See also