KML {vegsoup} | R Documentation |
A simple utility function for visualization of plots in google earth.
## S4 method for signature 'Vegsoup' KML(x, filename, add.label, thumbnail.url.path, website.url.path, ...) ## S4 method for signature 'VegsoupPartition' KML(x, filename, add.label, thumbnail.url.path, website.url.path, ...)
x |
|
filename |
path to a file, can be missing. |
add.label |
Show labels of push-pins in KML. |
thumbnail.url.path |
A URL that serves a key photo graph of the plot. See ‘Examples’. |
website.url.path |
A URL that serves a photo gallery for a plot. See ‘Examples’. |
... |
Not used at the moment. |
The method defined for Vegsoup
creates pushpins that when clicked
show a bubble with a species list for a respective plot and if
'thumbnail.url.path'
is accessible an additional key photo graph at
the bottom of the bubble. The function creates a hyper link for that photo
directing to a web photo gallery ('website.url.path'
).
For "VegsoupPartition"
objects a KML file structured in folder is
created. Each folder contains all plots in a respective partition.
Roland Kaiser
require(vegsoup) data(barmstein) KML(barmstein, file = tempfile()) KML(VegsoupPartition(barmstein, k = 2), file = tempfile())