PIVARI.COM logo

KMZ & KML maker (Google Earth): kmzmaker

version 2.0 2/15/2007

by Pivari.com© 2006 http://www.pivari.com/

Contents

What is kmzmaker?

kmzmaker is a simple server tool to make kmz e kml files (kmz is the compress kml file and kml and kmz are the formats of Google Earth). At the moment the unix version can make only kml files. You can see a kmz file or a kml file using Google Earth.

Why do you need kmzmaker?

With kmzmaker you can make kmz (or kml) files and put them on your site (using ftp) or send it via email (in attach).
kmzmaker is a command line tool, that can run on a lot of different OS (e.g. windows, linux, aix, solaris, hpux, ...), so you can use from every application or program language, also from a web application like I am here 2.0!

Download kmzmaker

If you're interested in a binary for another operating system, such as Mac OS X, FreeBSD, SCO Unix, Irix, Digital Unix (tru64), please let us know, and we'll send you one.
With enough requests, we'll also add one here permanently.

Demo versions have the same features of registered versions + watermarks

Purchasing, Licensing and Registration

kmzmaker is shareware, the registration fee is only 25 euro for a personal license (only for personal use, no inside a company)
The registration fee for company license is based on the number of processors (CPUs) in the server.

For both licenses you have not limitaton on the number of kmz you can produce.
The only limitation is that you have to install your registered version only on the number of computers you have registered (we have not protected the registered kmzmaker version).
You are not allowed to distribute or resell the registered kmzmaker version without Pivari.com's authorization.
Obviously we can't verify this, simply we trust you.
For the registration email us at info@pivari.com an we will send you an invoice.
If you're a developer or a software house, and wish to use kmzmaker inside of your own applications, please email us directly at info@pivari.com

Reseller Discount

Contact us directly! We're looking for resellers and partnerships.

Customization

We are the developers of this software. Contact us directly for modifications or customization.

Italian customers

Scriveteci per la fattura e le modalità di pagamento info@pivari.com

Configure and run kmzmaker

At the moment kmzmaker is a command line and works in the same way on every OS supported (Windows, using a dos windows, Linux, Solaris, AIX, HP-UX, if you need also Mac OS X, Tru64, BSD, SCO, ...)
kmzmaker [-options]
where options include:
-help to print the line help
-verbose to print verbose messages
-version to print version
-document string
-color color
-label string
-html string
-address string
-file string
-mailto "name@domain.com" to send the generated kmz to the specify email addresses -configure file to use a specific configuration file (the default is kmzmaker.cfg in the same directory of the executable)
The command line options -document, -label, -html, -address, -file are equal to the document, label, html, address, file options in the configuration file.

  1. kmzmaker uses the file kmzmaker.cfg as its configuration file. This file must reside in the same directory as the kmzmaker file, since it searches for this file at runtime. You can create your own kmzmaker.cfg file and use it with -configure option.
    Inside this file, you can change the values for the label, address, file, document, address, html, color, ftphost, ftpuser, ftppassword, ftpdirectory, mailhost, mailfrom, mailsubject, mailbody, sendmail
  2. To change any of these values, you just need to edit kmzmaker.cfg. You can also create a new .cfg file and tell kmzmaker to read it at runtime, using the -configure yourfile.cfg option or the KMZMAKERCFG variable.
With file you set the output kmz file. You can use absolute path. Remember kmzmaker will add .kmz. The default is kmzmaker

Pay attention: kml and kmz are 2 new file formats that Google Earth can read.
If you want to put a kml or kmz on your web server you need to add this information inside the web configuration file.
Another possible way is to make .htaccess (I'm sure it works with apache, I don't know with other web server) with inside these lines:
AddType application/vnd.google-earth.kml+xml kml
AddType application/vnd.google-earth.kmz kmz
abd put .htaccess file in your web home.

With address you can set the address of the placemarker location (you don't have to know longitude and latitude) in this way: street address, ZIP city, state. This feature cuerrently works for addresses in Europe, U.S., Canada, Australia and New Zeland. I think also in Japan, Korea, China.
With document you can set the kmz document name (you can see it in the Places)
With label you can set the label of the kmz placemarker
The html variable allows you to set the html code to put on the text you can see when you click on the placemarker. You can use also images taking them via internet. e.g. this is a complex setting
html : I'm here!<br />send email for free with <strong>Google Earth</strong> attach<br /><a href="http://www.pivari.com/i-am-here20.html">http://www.pivari.com/i-am-here20.html</a><br />The receiver can read this "html" message cliccing on the marker in th Google Earth attach!<br /><img src="http://www.pivari.com/images/i-am-here.jpg" />,
The color variable allows you to set the pin color and opacity.
Color and opacity (alpha) values are expressed in hexadecimal notation. The range of values for any one color is 0 to 255 (00 to ff). The order of expression is aabbggrr, where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). For alpha, 00 is fully transparent and ff is fully opaque. For example, if you want to apply a blue color with 50 percent opacity to an overlay, you would specify the following: 7fff0000, where alpha=0x7f, blue=0xff, green=0x00 and red=0x00.
Setting correctly ftphost, ftpuser, ftppassword, ftpdirectory the produced htmlfile, kmlfile and xmlfile will be copied in the correct ftpdirectory in your ftphost using ftpuser and ftppassord via ftp.

sendmail to set the local sendmail or similar command. The default is sendmail -t -oi -oem mailhost to set the local or remote smtp host (you can use also the ip address)
mailfrom please change this default nobody@nobody.com with your email mailsubject the Subject of the email (Your report is the default) mailbody the body of the email (In attach your report is the default). You can make a multiline body using \n like end of line.

History