Convert a Compressed KMZ file to KML format
In the previous sections, we looked at using Geojson.io and Mapshaper
to convert geospatial files. However, not all file types can be converted with these tools.
This chapter shows a particular example of a commonly requested
.kml pair conversion with Google Earth Pro.
KMZ is a compressed version of a KML file, and the easiest way to convert between the two is to use free Google Earth Pro (if you remember from Convert to GeoJSON format section, KML is a native format of Google Earth).
- Download and install Google Earth Pro for desktop.
- Double-click on any .kmz file to open it in Google Earth Pro. Alternatively, open Google Earth Pro first, and go to File > Open and choose your KMZ file.
- Right-click (or control-click) on the KMZ layer under Places menu, and select Save Place As…, like is shown in Figure 11.25.
- In the dropdown menu of Save file… window, choose KML format, like is shown in Figure 11.26.
Alternatively, you can use any zip-utility to extract a KML file from KMZ. KMZ is simply a ‘zipped’ version of a KML file!
In this chapter, you learned to use pivot tables to count addresses (points) by geographical area, such as states or cities (polygons). You lerned that geospatial data can be vector or raster. The best file format to store, share, and use vector data is GeoJSON. You can use GeoJson.io to create, edit, or convert geospatial files inside your browser. Mapshaper is another online tool to convert, simplify, join or crop geospatial data.
In the following chapter, we will talk detecting bias in charts and maps. so that you become a better storyteller and a more critical reader.