kml_compress_fixed This function is based on the kml_compress from plotKML but fixes a bug with including files

kml_compress_fixed(file.name, files = "", removeTemps = TRUE)

Arguments

file.name

Path of the .kml file; the .kmz gets the same base name.

files

Additional files/directories to bundle into the KMZ.

removeTemps

Logical; delete the loose inputs after zipping.

Value

Invisibly, NULL. Called for its side effect (writing the KMZ).