Learn R Programming

sharpshootR (version 2.3)

site_photos_kml: site_photos_kml

Description

Generates a KML file of site locations with associated site photos and a link to a pedon description report.

Usage

site_photos_kml(data, 
filename='photos.kml', make.image.grid=FALSE, 
file.source = c('local', 'relative')
)

Value

A KML file of of sites with embedded associated site photos.

Arguments

data

a dataframe

filename

full file path and name with .kml extension

make.image.grid

logical, include linked site images, default is FALSE

file.source

'local' sources the image files to a specific system path, 'relative' sources the image files to files folder that can be included and referenced within a .kmz file

Author

Jay Skovlin, D.E. Beaudette

Details

This function simplifies writing a kml file of site and/or sites with linked photos. Further documentation is provided in this tutorial.