GPS.pt2photo <- function(photo.pos ="d:/photo", exiftool.pos= "D:/software/EXE", GPS.point)
{
setwd(photo.pos)
file.copy(sprintf("%s/%s", exiftool.pos, "exiftool.exe"),
getwd())
file <- dir(pattern = ".jpg|.JPG")
cmd <- sprintf("exiftool -GPSLatitude=%f -GPSLongitude=%f \"%s\"",GPS.point[2],GPS.point[1],file)
lapply(cmd, shell)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.