buildPOLYGON | R Documentation |
Utility functions to manage geographical polygons.
buildPOLYGON(bottomleftcorner, toprighcorner, interactive = FALSE,
xlim = c(-180, 180), ylim = c(-90, 90))
as.POLYGON(x, y = NULL)
## S3 method for class 'POLYGON'
print(x, ...)
## S3 method for class 'POLYGON'
plot(x, add = FALSE, col = rgb(1, 1, 0, 0.25),
xlim = NULL, ylim = NULL, around = 1, ...)
bottomleftcorner |
a numeric vector with two values giving the longitude and latitude (in decimal degrees) of the bottom-left corner of a rectangle. |
toprighcorner |
id. for top-right corner. |
interactive |
a logical value. If |
xlim , ylim |
the limits of the map. |
x , y |
two numeric vectors of geographical coordinates. |
add |
a logical value specifying whether a make a new plot (the default), or add to an existing plot. |
col |
the color of the piolygon (by default: transparent yellow). |
around |
the space left between the polygon and the borders of the plot. |
... |
further arguments passed to and from methods. |
These functions help to build objects of class "POLYGON"
which
are then optionally used when calling searchCopernicus.
an object of class "POLYGON"
.
Emmanuel Paradis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.