Questions tagged [kmz]

KMZ is the compressed (zipped) file format of a Keyhole Markup Language (KML) file. Related files (images, styles etc) may be included inside the compressed file.

See https://developers.google.com/kml/documentation/kmzarchives

The following description is taken from the link above:

A KMZ file consists of a main KML file and zero or more supporting files that are packaged using a Zip utility into one unit, called an archive. The KMZ file can then be stored and emailed as a single entity. A NetworkLink can fetch a KMZ file from a web server. When the KMZ file is unzipped, the main .kml file and its supporting files are separated into their original formats and directory structure, with their original filenames and extensions. In addition to being an archive format, the Zip format is also compressed, so an archive can include only a single large KML file. Depending on the content of the KML file, this process typically results in 10:1 compression. Your 10 Kbyte KML file can be served with a 1 Kbyte KMZ file.

and can read and KMZ files directly, and they can save files as KMZ files. By default, the main KML file is named doc.kml.

223 questions
3
votes
1 answer

KML IconStyle color entered as blue but displays red in Google Earth

I'm using hexadecimal colors to label icons. For blue I'm using 0000ff. In the KML file it is as ff0000ff. However, when the KML is opened in Google Earth the icon placemark is red. Looking at…
Stuber
  • 447
  • 5
  • 16
3
votes
3 answers

Using KMZ file in Leaflet Map

I have to use KMZ files in my Leaflet Map. I found good plugins and tutorials to use KML files in Leaflet Maps but couldn't find a way to use KMZ files. One of the plugin for using KML is : Leaflet-Omnivore. For KML all I have to do is(My Leaflet…
Abdul Rehman Yawar Khan
  • 1,088
  • 3
  • 17
  • 40
3
votes
3 answers

Read KMZ with JavaScript

How I can read the content in a KMZ (not KML) with JavaScript?
JuanPablo
  • 23,792
  • 39
  • 118
  • 164
3
votes
1 answer

How to use java.util.zip to archive/deflate string in java for use in Google Earth?

Use Case I need to package up our kml which is in a String into a kmz response for a network link in Google Earth. I would like to also wrap up icons and such while I'm at it. Problem Using the implementation below I receive errors from both WinZip…
Adam
  • 3,675
  • 8
  • 45
  • 77
3
votes
2 answers

When adding a KMZ file into my Google Map, is there a way to layer the image overlay above the polygons?

I've got a google map page on my website where I want to load a series of KMZ files showing blocks of land. I am generating the KMZs in Google Earth which are made up of an Image Overlay and a series of Polygons. I first load the Image Overlay,…
Bassmanjase
  • 167
  • 4
  • 14
3
votes
2 answers

zipfile is leaving the last few lines off my file - why?

So I'm having an issue with using the zipfile module in Python. Currently when I try to compress a KML file to create a new KMZ file I'm missing the last few lines. It doesn't seem to matter how long the KML is. I assume this is because zipfile…
koax26
  • 163
  • 1
  • 6
3
votes
1 answer

Nesting KMZ files

Is it possible to create one KMZ file that is composed of several smaller KMZ files? I would prefer to not have to manually merge the actual KML entities, but I will if that's the only option.
Matthew Belk
  • 1,904
  • 2
  • 20
  • 28
3
votes
1 answer

Python: embed images in kmz

I have a series of kmz files (1000+) within one folder that I have generated of each polygon of a feature class and a corresponding image (all images are in a separate folder). These kmz's are automatically generated from the attribute tables of my…
GeoPy
  • 1,556
  • 3
  • 17
  • 21
3
votes
1 answer

Unable to load a local KMZ file into a browser with the google earth plugin using fetchkml function

We have a KMZ file that loads into the Google Earth Desktop application just fine. No errors. When we try to use the Google Earth Plugin to do the same thing, it does not even return from the fetchKml function. Any special settings we need to know…
Paul Smith
  • 51
  • 2
  • 3
3
votes
1 answer

ASP .NET code for converting a shape file to kmz file

Is there any ASP .NET code for converting a shape file to kmz file. Please give me a solution for this. I have searched a lot. But didnt find any solution. Please anyone help me
Sudha
  • 2,078
  • 6
  • 28
  • 53
3
votes
0 answers

Displaying paths or trails with many points in Google Maps

I had assumed that Google Maps would only partially display .kmz or .kml files containing paths/trails with too many points. However, while trying to upload and edit such a map, I inadvertently created a map-view in which all the points are…
scyntl
  • 53
  • 5
3
votes
1 answer

KMZ points displaying in inaccurate positions at small scale in Google Maps

I am having issues displaying points from KMZ files accurately at small scales when the map is zoomed out (e.g. zoom: 5). Some of the points from the Farmers Markets KMZ layer for example start out in the water and then as you zoom in the points…
2
votes
1 answer

How to avoid CSS scrubbing in Google Earth balloons

I've been doing a lot of looking around into this issue. I have a project I'm working on which basically represents a tour of different locations, each of which are generated dynamically, in a Google Earth web player. The problem is that the client…
anbuf
  • 91
  • 2
  • 8
2
votes
0 answers

Read and show map data of kmz file into ipynb file in google colab

I have a .kmz file created by customizing some data. How can I read this file in google colab notebook and show the map there using python?
Nowshin
  • 81
  • 2
  • 10
2
votes
1 answer

How to automate pulling data (KMZ? JSON?) from My Google Maps

Seeking a bit of guidance on a general approach as to how one would automate the retrieval of data from a My Google Map. While I could easily export any given layer to KML/KMZ, I'm looking for a way to do this within a larger script, that will…
DiamondJoe12
  • 1,879
  • 7
  • 33
  • 81
1
2
3
14 15