extractCoords: extract Coordinates of SpatialLines or SpatialPolygons...

View source: R/Func_Misc.R

extractCoordsR Documentation

extract Coordinates of SpatialLines or SpatialPolygons extractCoords

Description

extract Coordinates of SpatialLines or SpatialPolygons extractCoords

Usage

extractCoords(x, unique = TRUE, aslist = FALSE)

Arguments

x

SpatialLines or SpatialPolygons

unique

Whether return unique coordinates or duplicated coordinates

aslist

Whether return as list of coordinates

Value

coordinates of points, m x 2.


SHUD-System/SHUDtoolbox documentation built on Nov. 27, 2024, 5:54 a.m.