Wrapper to convert polygons to coordinate matrices.

pull_coords(poly)

Arguments

poly

is a SpatialPolygons object

Value

a matrix of coordinates representing the spatial object