Generates a boundary (polygon) around
a set of points, using Convex Hull technique
(Eddy, W. F, 1977).
Usage
chull_poly(xycoords,
crsys = NULL)
Value
Returns a "SpatialPolygonsDataFrame"
object representing the boundary
surround the spatial points
Arguments
xycoords
(matrix) A 2-column
coordinate vectors of points: x - the eastings,
and y - the northing.
crsys
Optional string specifying the coordinate
reference system (crs) of the resulting boundary, e.g.,
the crs string "+proj=longlat +datum=WGS84" transform
the resulting boundary to wgs84 system.
Details
Draws an arbitrary boundary around
spatial points by joining the outer-most
points by lines.
References
Eddy, W. F. (1977).
A new convex hull algorithm for planar sets.
ACM Transactions on Mathematical Software,
3, 398--403.10.1145/355759.355766.