Polygons-class {sp} | R Documentation |
Collection of objects of class "Polygon"
Objects can be created by calls to the function Polygons
Polygons
:"list"
; list with objects
of class Polygon-class plotOrder
:"integer"
; order in which
the Polygon objects should be plotted, currently by order of decreasing size labpt
:"numeric"
; pair of x, y coordinates giving a label point, the label point of the largest polygon component ID
:"character"
; unique identifier string area
:"numeric"
; the total area of the Polygon list including the areas of holes; these values are used to make sure that polygons of a smaller area are plotted after polygons of a larger area No methods defined with class "Polygons" in the signature.
By default, single polygons (where Polygons is a list of length one) are not expected to be holes, but in multiple polygons, hole definitions for member polygons can be set. Polygon objects belonging to an Polygons object should either not overlap one-other, or should be fully included (as lakes or islands in lakes). They should not be self-intersecting. Checking of hole FALSE/TRUE status for Polygons objects is included in the spgpc wrapper package for gpclib functions, function checkPolygonsHoles() (currently on sourceforge).
Roger Bivand