kmz

How do I link to internal files in a KMZ file?

I'm trying to set up a KMZ file for use in Google Earth where the balloon contents are mostly defined in HTML files, which are embedded using iframes. The setup works with a plain KML file and the extra HTML files when using relative links on the local filesystem (assuming filesystem access is enabled). My problem is that I can't find a...

kmz compression for google earth images with java

Does anyone know what compression to use in Java for creating KMZ files that have images stored within them? I tried using standard Java compression (and various modes, BEST_COMPRESSION, DEFAULT_COMPRESSION, etc), but my compressed file and the kmz file always come out slightly different don't load in google earth. It seems like my png i...

How to unzip a column in the database using PHP

I have a KMZ file stored in MySQL as a blob. KMZ file uses PKZIP compression. How can I unzip the file using PHP? ...

Does GXml work with KMZ files?

Can Google Map API GXml parse .kmz files directly? if not how is the best way to convert .kmz file to .kml? The .kmz file is stored on database and PHP code is used to retrieve it. ...

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. Thanks, Matthew ...

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? <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>...

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 vertex of the quadrilateral specified would, for example, be the top-left corner of the bit...

How can I create a Google Visualization intensity/heat map using a KMZ document?

I'd like to create a Google Visualization API intensity/heat map based on UK counties. To do this, it appears that I need to use a custom KML/KMZ file that contains the county mapping data (which I've located). Could anyone provide me with a sample of how I can display an intensity map based on a KMZ file? I know how to display Google ...

Display KMZ file on ArcGIS Server + Google Maps API

I am trying to put a kmz file from my server in a google-maps-map using ArcGIS Server Google Maps API. It works fine with KML but KMZ does not show up. Any suggestions? ...

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 and Google Earth that the archive is corrupted or that the file cannot be opened respec...

Read KMZ with JavaScript

How I can read the content in a KMZ (not KML) with JavaScript? ...

Loading a local .kml file using google maps?

I created a hello world program to load a local kml file (borrowed from google's docs): var ctaLayer = new google.maps.KmlLayer("http://localhost:8080/kml/cta.kml"); This does not work (nothing gets loaded). However, when I change that line to: var ctaLayer = new google.maps.KmlLayer("http://gmaps-samples.googlecode.com/svn/trunk/...

NSURLConnection downloads only the first 567 bytes?

Hi, I'm trying to download http://www.vesseltracker.com/earth/vesseltrackerlight.kmz but am not getting all the bits and pieces. I tried: NSData *data = [NSData dataWithContentsOfURL: serverURL options: 0 error: &error]; to no avail then switched to - (void)startDownloadingURL:(NSURL*) url { // Create the request. NSUR...