Is there a way to export a shapefile to Google Earth format (*.kmz) using QGIS?
-
this might help you: stevencanplan.com/2009/converting-shapefiles-and-kml-files– Gago-SilvaCommented Apr 22, 2013 at 18:04
-
3Right click on the layer and choose "Save As..." and Format = Keyhole Markup Language [KML]. A KMZ is simply a compressed version of a KML file.– Aaron ♦Commented Apr 22, 2013 at 18:15
2 Answers
QGIS will not save/export straight to KMZ. As Aaron suggests in his comment above, you can right click on your layer in QGIS, select 'Save As...' and choose KML.
To then convert your KML to a KMZ, you have two options:
Open the KML in Google Earth, right click on 'Save Place As...', and select KMZ as your desired format.
Put your KML in a .zip file, then change the file extension to .kmz. You will now have a working KMZ file you can open in Google Earth as normal.
-
1In my QGIS 3.10.4, "KML" or "Keyhole Markup Language" is not shown as an option for possible export option when Export -> Save As.– gerritCommented Aug 27, 2022 at 20:02
Check this plugin out. It exports also the symbols as displayed in a QGIS layer: