KML {vegsoup}R Documentation

Write KML Files to Disk

Description

A simple utility function for visualization of plots in google earth.

Usage

## 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, ...)

Arguments

x

'Vegsoup' or 'VegsoupPartition' object.

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.

Details

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.

Author(s)

Roland Kaiser

See Also

quicklook

Examples

require(vegsoup)

data(barmstein)

KML(barmstein, file = tempfile())
KML(VegsoupPartition(barmstein, k = 2), file = tempfile())


[Package vegsoup version 0.2-7 Index]