wkt_bounding turns WKT objects
(specifically points, linestrings, polygons, and multi-points/linestrings/polygons)
into bounding boxes.
a character vector of WKT objects.
whether to return the results as a matrix (TRUE) or data.frame (FALSE). Set to FALSE by default.
either a data.frame or matrix, depending on the value of
four columns -
max_y - representing the
various points of the bounding box. In the event that a valid bounding box cannot be generated
(due to the invalidity or incompatibility of the WKT object), NAs will be returned.
bounding_wkt, to turn R-size bounding boxes into WKT objects.
wkt_bounding("POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.