To Merge KMZ files.

172 views
Skip to first unread message

prasanna ragaven

unread,
Mar 20, 2013, 6:14:09 AM3/20/13
to kml-support-g...@googlegroups.com
Hi,
   I am having two kmz files which contains line and a polygon respectively in a same grid.I just want to merge these two into a single kmz file using c#. Any help will be useful for me? Thanks in advance.

Regards,
Ragaven

Jason M

unread,
Mar 20, 2013, 3:47:13 PM3/20/13
to kml-support-g...@googlegroups.com
One simple way is to create a top-level KMZ file whose doc.kml has Networklinks to each of the KMZ files. You could write a C# program to do this in few lines of code.
Take a look at the dotnetzip C# library for ZIP support.

You have choice to either include the kmz files as-is (simplest) or unpack them and include them in a new parent KMZ file which requires any conflicts to be resolved and any relative links to reflect any renaming.
Reply all
Reply to author
Forward
0 new messages