View source: R/site_photos_kml.R
site_photos_kml | R Documentation |
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')
)
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 |
This function simplifies writing a kml file of site and/or sites with linked photos. Further documentation is provided in this tutorial.
A KML file of of sites with embedded associated site photos.
Jay Skovlin, D.E. Beaudette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.