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
2
votes
1 answer

Enabling KMZ output with gzip

When I try enable gzip for an output the following error appears: Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 634, in __call__ handler.get(*groups) File…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
2
votes
2 answers

How can I reference local custom icons in a kml?

I have quite literally never tried to edit a kml file before, so I'm not totally sure of what I'm trying to ask, but I'll do my best. I'm trying to use custom icons for my placemarkers. I tried to upload the images to a hosting site and link to…
ALPOH
  • 23
  • 5
2
votes
2 answers

ASP.NET VB KML Generator

Here is a handler (ashx) file that generates KMZ files (can generate KML by not using the Ionic compression classes (Ionic = DotNetZip at Codeplex). This handler uses an SQL table to populate the place marks but is a good example of ashx handler…
user579013
  • 197
  • 2
  • 9
2
votes
1 answer

How to load all fields/ExtendedData (not just 'name' and 'description') from KML layer into R

I've been working on loading KML files into R to make web maps with Leaflet/Shiny. The import is pretty simple (using this sample KML): library(rgdal) sampleKml <- readOGR("D:/KML_Samples.kml", layer = ogrListLayers("D:/KML_Samples.kml")[1]) In…
Lauren
  • 1,035
  • 1
  • 14
  • 32
2
votes
1 answer

Embedding a Google Earth KML into a webpage

I've created a pretty large Google Earth project which includes several layers and features all of the protected areas in the Northern Brazilian Amazon, along with images and pop-up bubbles with relevant data. I'd now like to get my project online…
2
votes
2 answers

What is the max file size to open a KMZ* in Google Earth

I am working with orthomosaics in TIF format and I convert them to KMZ* files for Google Earth. The problem is the resolution of the image, when it is very high, I have 2 gb KMZ* and it doesn't open in Google Earth. It opens the program but doesn't…
2
votes
1 answer

Adding 3D model KMZ with Google Maps API: is it possible?

I'm wondering if it's possible to add a 3D model made in Sketchup, exported o KMZ format, to a Google Map, with the Google Maps API. I was able to add KMZ layers that contained simple data as landmarks and such, but when I try to load the 3D model…
2
votes
1 answer

Using KMZ files with OpenLayers

I have a .kmz file and want to display the data on a map. If I unzip the file, and extract the .kml file and use that, I can get the map to display the data. However, as the .kmz file is hosted somewhere else, I need to read that file and ideally…
Beast-a-tron
  • 503
  • 10
  • 28
2
votes
1 answer

Update Google Maps with kmz files in several layers

Next september I will be travelling during three months by bike. I will use an iPhone with Motion-X GPS app instaled to record everyday's track. The journey intends to draw some public attention thus I'm building a website with Squarespace where I…
2
votes
1 answer

How to create KMZ from KML in PHP?

My KML Size is getting larger and takes a lot of time to download. I read that KMZ is very much compressed version and has less file Size. I already have KML string ready. How to create a kmz file from KML string?
user3610838
  • 23
  • 1
  • 3
2
votes
1 answer

Algorithm to calculate speed from kml track gps co-ordinates

I am trying to parse a kml file to calculate the speed between two adjacent points with the below algorithm (similar to what myTracks Android app does) public double calculateSpeed(Location prev, Location curr) { double deltaDistance =…
AndroidDev
  • 5,193
  • 5
  • 37
  • 68
2
votes
1 answer

KML + Google Earth: Fill a quadrilateral with a bitmap?

I'm building a KML file to use as a map layer in Google Earth and whatever else handles KML/KMZ files. What I want to do is this: Display a number of bitmap images such that each is stretched to fit into a specified quadrilateral, where the first…
DanM
  • 7,037
  • 11
  • 51
  • 86
2
votes
1 answer

KMZ only shows Icon file when I rename file in the zip file

I am writing a C# program using http://www.icsharpcode.net/opensource/sharpziplib/ to compress to a zip file a KMZ file that will contain a KML file and icons. My attempt: After opening the KMZ file in Google earth the icons do now show. I then…
TheWommies
  • 4,922
  • 11
  • 61
  • 79
2
votes
2 answers

Using KML / KMZ on top of google maps

To test I saved this html file to my server. Is there a simple way to include a KML or KMZ file here?
cc0
  • 1,960
  • 7
  • 40
  • 57
2
votes
1 answer

KMZ download fails for IE, using PHP headers

I am trying to create a download for my KMZ file. This works fine in both Firefox and Chrome but not IE (9, 10, or 11). Here is my code: function kmz_export($result){ header_remove(); // .... create file $zip = new ZipFile(); …
jason
  • 3,821
  • 10
  • 63
  • 120
1 2
3
14 15