Google Earth KMZ File Merging?
July 15, 2008 11:19 AM Subscribe
GoogleEarthFilter: How can I merge the contents of multiple point-data KMZ/KML files? Long-winded explanation inside.
The engineering company for which I work is shifting from paper-based maps to Google Earth for site location records. There are a lot of old records to enter. I've been tasked with creating the procedure for multiple persons, during their non-project-scheduled time, to enter site locations and job names. These will all be point data, with a name and no description. The problem: 90% of my office is functionally computer illiterate.
If Joe Employee is tasked to enter data directly into the kmz file which contains all previously entered points, and then save it again, he will manage to save one single point over the entire file. This happened during our first trial run. The solution I've come up with is to have each person save their edits to a seperate kmz file, which I or the other computer-savvy individual can later merge into the main database.
I know you can drag and drop kmz files to create multiple nested sub-folders of points within Google Earth, but I don't -want- multiple nested sub-folders. I want all the points in one file. Google Earth will let you drag points from one folder to another, but only one at a time. How do I just rip all the points out of one file and stuff them into another?
posted by Phineas Rhyne to computers & internet (6 answers total) 1 user marked this as a favorite
This means you can parse the DOM, or structure, of a KML/KMZ file and manipulate it with any XML parser — you would pull out the nodes of interest from each KMZ file and pipe them into another file, for example.
There are XML parsers for many scripting languages, such as python or perl.
posted by Blazecock Pileon at 12:26 PM on July 15, 2008