Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a kmz file. Is there an easy way to convert it to KML? Can I just "unzip"?

share|improve this question

4 Answers 4

up vote 16 down vote accepted

Yes. Inside the .kmz is a file called doc.kml. You can use 7-zip to open the kmz archive.

share|improve this answer

or change the file extension to .zip under windows to open with winzip.

In unix:

cp myfile.kmz myfile.zip
unzip myfile.zip
cp doc.xml myfile.kml
share|improve this answer
1  
You can just unzip the kmz file directly, Unix doesn't care about file extensions. –  HeyOverThere Nov 12 '12 at 23:26
    
@HeyOverThere most Unix utilities don't care, but some, such as gunzip are picky about extensions. –  scw Nov 13 '12 at 2:55
    
The rename file extension technique works like a charm in Windows 7. –  JohnnyO Nov 28 '13 at 16:53

This is most likely no practical solution, but you can import your kmz-file in google earth (open) and export it (rightlick -> save) it as kml. Somehere out there is certainly a easy tool for conversion/extraction.

share|improve this answer
    
good idea Google Earth choked on a 57MB file. I guess that is a different problem. –  Abe Nov 12 '12 at 22:19
1  
hui, then maybe you should first extract the doc.kml file as mentioned by HeyOverThere. On this link you will find further informations about the kmz file format: developers.google.com/kml/documentation/kmzarchives –  Curlew Nov 12 '12 at 22:26
    
@Abe solid state memory is the way to go. I have 16GB of RAM too, thats definitely helpful too. –  boulder_ruby Jun 4 at 22:25

No need for a third party tool. Change the extension to .zip, open and extract the file you want.

share|improve this answer
    
+1 If you are using 7zip, you do not even need to add a ".zip" extension. –  Aaron Oct 1 at 17:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.