reproj_bbox | R Documentation |
Helper function used to reproject bounding boxes; setting the parameter 'enlarge' allows to choose if the new one would be the one which completely includes the original extent in the output projection, or if is simply the one obtained by reprojecting the upper-left and the lower-right corners.
reproj_bbox(bbox, in_proj, out_proj, enlarge = TRUE)
bbox |
The input bounding box (it can be a matrix obtained from |
in_proj |
( |
out_proj |
|
enlarge |
'logical“ if TRUE, the reprojected bounding box is the one which completely include the original one; if FALSE, it is simply the one obtained by reprojecting the upper-left and the lower-right corners. |
License: GPL 3.0
Luigi Ranghetti, phD (2015)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.