0

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"))
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.