Saving several placemarks as individual KML files

40 views
Skip to first unread message

Emilio

unread,
Dec 1, 2010, 1:58:31 AM12/1/10
to KML Developer Support - Getting Started with KML
Hello, I have a folder in Google Earth with 532 placemarks. I would
like to create a single KML/KMZ file with each of the placemarks. 1
placemark=1 KML file. So I would I like to create 532 KML files.

I know I can do this by hand, one by one, by doing Save Place as...for
each placemark. However, due to the volume of it, it would be
incredibly time consuming.

Is there a faster way to just save these as individual KML files?

Thanks!

Josh L

unread,
Dec 10, 2010, 3:51:38 PM12/10/10
to KML Developer Support - Getting Started with KML
Hi there,

One way would be to use some kind of scripting language (php, python,
etc.) to parse your KML and create individual files. You could also
make use of the libkml library if you wanted something more robust
than simple string manipulation. These approaches do require some
programming knowledge, however.

Cheers,

-Josh
Reply all
Reply to author
Forward
0 new messages