Description Usage Arguments Details Value Author(s) See Also Examples
A graphical user interface (GUI) for managing and manipulating polygons that is based on the rgeos package.
1 2 | ManagePolygons(polys = NULL, poly.data = NULL, poly.crop = NULL,
crs = sp::CRS(as.character(NA)), parent = NULL)
|
polys |
list.
A list of polygons, components are objects of class |
poly.data |
character. Name of the polygon that defines the data boundary limits. |
poly.crop |
character. Name of the polygon that defines the crop region for interpolated data. |
crs |
CRS. Default coordinate reference system |
parent |
tkwin. GUI parent window |
The text file representation of a polygon is of the following format:
<number of contours>
<number of points in first contour>
<hole flag>
x1 y1
x2 y2
...
<number of points in second contour>
<hole flag>
x1 y1
x2 y2
...
The hole flag is either 1 to indicate a hole, or 0 for a regular contour.
See the read.polyfile
function for details.
Returns an object of class list with components
polys
, poly.data
, poly.crop
, and crs
(see ‘Arguments’ section).
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
1 2 3 4 | ## Not run:
ManagePolygons()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.