Organize kml outputs into folders.
Organize kml outputs into folders.
kmlStr2 = ge_folder(kmlStr1) |
kmlStr2 = ge_folder(kmlStr1) |
Organize kml outputs into multiple level folders. Function ge_folder() constructs output variable "kmlStr2" by adding a kml header and footer to the input variable "kmlStr1", indicating the folder level.
Organizing kml files into multiple levels can be achieved by recursively using ge_folder(). See example below.
The code contained in this m-file will display as follows when viewed in Google Earth: