I am trying to compress a KML file using gzip on a Linux system
gzip -cvf somefile.kml > somefile.kmz
When I go to try and verify the new KMZ file in Google Earth, I receive the following error:
Open of file "somefile.kmz" failed: Parse error at line 1, column 0: not well-formed (invalid token)
What happened?
gzip
andzip
outputs are not equivalent formats. KMZ requireszip
– Vince Mar 4 '19 at 16:27