Description Usage Arguments Value See Also Examples
bounding_wkt
takes bounding boxes, in various formats,
and turns them into WKT POLYGONs.
1 | bounding_wkt(min_x, min_y, max_x, max_y, values = NULL)
|
min_x |
a numeric vector of the minimum value for |
min_y |
a numeric vector of the minimum value for |
max_x |
a numeric vector of the maximum value for |
max_y |
a numeric vector of the maximum value for |
values |
as an alternative to specifying the various values as vectors, a list of length-4 numeric vectors containing min and max x and y values, or just a single vector fitting that spec. NULL (meaning that the other parameters will be expected) by default. |
a character vector of WKT POLYGON objects
wkt_bounding
, to turn WKT objects of various types into
a matrix or data.frame of bounding boxes.
1 2 3 4 5 | # With individual columns
bounding_wkt(10, 12, 14, 16)
# With a list
bounding_wkt(values = list(c(10, 12, 14, 16)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.