Home > Uncategorized > Unzip KMZ Files on a Mac using Springy

Unzip KMZ Files on a Mac using Springy


I’m learning about KML/KMZ files, where KMZ is basically a .zip file renamed as .kmz.  The problem is that these .kmz files cannot be opened using the default Mac unzip utility.  When you try to open the .zip file, it creates a new file called <originalfile>.zip.cpgz.  Opening the .cpgz file yields a copy of the original zip.

Mac OSX cannot handle unzipping the file

The solution is to use Springy, a zip utility for Mac (free trial, ~$20 to buy).  It handles the file perfectly:

Open with Springy

Open with Springy

Springy handles KMZ fine

Springy handles KMZ fine

Edit: Found an alternative approach here.  Basically, rename the file .rar instead of .zip and the Unix unzip utility can handle it.

I’ve written a script to incorporate this; find it as a gist here.

About these ads
Categories: Uncategorized Tags: , , , , , ,
  1. James
    September 11, 2011 at 12:58 pm

    Strange… I found that this worked fine from Terminal…

    Jamess-MacBook-Pro:mam2011_kml james$ unzip “Zaglossus bruijnii.kmz”
    Archive: Zaglossus bruijnii.kmz
    inflating: doc.kml

    and the .kml file looked fine in Google Earth…?

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: