buildRelations | R Documentation |
Computes the overlap between each pair of objects from two simple features and returns their intersection area. This function can be used to compute the relation between GLOBIOM representations and specific regions such as states or biomes. It returns a data.table with three columns: One ID from the first simple feature, one ID from the second simple feature, and their intersection area in Mha. Objects with no intersection will not be shown in the output.
buildRelations(geom, ref, id, normalize = TRUE)
geom |
First simple feature, whose unique identified is the attribute ID. This object is usually from GLOBIOM, a SimU, CR, or LU dataset. |
ref |
Second simple feature, representing the region(s) to be mapped to GLOBIOM representation. |
id |
The attribute to be used as unique identifier for the second simple feature. |
normalize |
normalizeRelationsByArea() should be called with the result? Default is TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.