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

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

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

Details

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

Value

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

Author

Jay Skovlin, D.E. Beaudette