g_envelope | R Documentation |
g_envelope()
computes and returns the bounding envelope(s) for the input
geometries. Wrapper of OGR_G_GetEnvelope()
/ OGR_G_GetEnvelope3D()
in
the GDAL Geometry API.
g_envelope(geom, as_3d = FALSE, quiet = FALSE)
geom |
Either a raw vector of WKB or list of raw vectors, or a character vector containing one or more WKT strings. |
as_3d |
Logical value. |
quiet |
Logical value, |
Either a numeric vector of length 4
containing the 2D envelope
(xmin, xmax, ymin, ymax)
or of length 6
containing the 3D envelope
(xmin, xmax, ymin, ymax, zmin, zmax)
, or a four-column or six-column
numeric matrix with number of rows equal to the number of input geometries
and column names ("xmin", "xmax", "ymin", "ymax")
, or
("xmin", "xmax", "ymin", "ymax", "zmin", "zmax")
for the 3D case.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.