st_coordinates: retrieve coordinates in matrix form

Description Usage Arguments Value

View source: R/sfc.R

Description

retrieve coordinates in matrix form

Usage

1

Arguments

x

object of class sf, sfc or sfg

...

ignored

Value

matrix with coordinates (X, Y, possibly Z and/or M) in rows, possibly followed by integer indicators L1,...,L3 that point out to which structure the coordinate belongs; for POINT this is absent (each coordinate is a feature), for LINESTRING L1 refers to the feature, for MULTIPOLYGON L1 refers to the main ring or holes, L2 to the ring id in the MULTIPOLYGON, and L3 to the simple feature.


r-spatial/sf documentation built on Aug. 15, 2018, 9:13 p.m.