rmap_add_ranges | R Documentation |
Add polygon ranges (usually species or populations distribution ranges) to a rangeMapper project
rmap_add_ranges(con, x, ID) ## S4 method for signature 'rmapConnection,sf,character' rmap_add_ranges(con, x, ID)
con |
a rangeMapper connection made with |
x |
a spatial polygon object of class |
ID |
character string. name of the ID column, usually species name. |
Polygons are saved as WKB (see sf::st_as_binary()
).
TRUE when the table is written to the project file, FALSE otherwise.
con = rmap_connect() wrens = read_wrens() rmap_add_ranges(con, x = wrens, ID = 'sci_name') dbDisconnect(con)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.