I aim to calculate the concave Hull from all the points of my database.
I'm trying to extract the vertices: -of a SpPolygonsDataFrame -of a SpLinesDataFrame both are imported by readOGR()
I tried different methods but I'm only extracting centroids.
require(rgdal) poly<- readOGR(".", "sample") coordinates(as(as(poly, "SpatialLines"), "SpatialPoints"))