Attaching kml and kmz file formats for Google Earth?

alaskaflyer

Final Approach
Joined
Feb 18, 2006
Messages
7,544
Location
Smith Valley, Nevada
Display Name

Display name:
Alaskaflyer
I think it would be useful if we could attach placemarks and layers for others to use to find Google Earth locations. Right now the message board software only allows for the attachment of
"Valid file extensions: bmp doc gif jpe jpeg jpg mov mp3 pdf png psd txt wav wmv zip"

These are .kml and .kmz files. For example look at my post here. I could have sent everyone to every spot on Google Earth if I could have attached those files...

Thanks
 
What is the typical size of kmz and kml files? I can certainly add them. I'll need to do a little research into making sure they aren't potentials for abuse/hacking/etc first of course.
 
Well, they are xml files...I don't think there would be any more risk that allowing an .html file but someone more programming literate would have to confirm that.

The basic placemark is usually less than 5 kb, and basically contains .html scripting such as this:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Placemark>
<description>www.bestofworldmaps.com</description>
<name>Your Placemark Name</name>
<LookAt>
<longitude>-71.06915065229849</longitude>
<latitude>42.36046685100747</latitude>
<range>568.9569869536941</range>
<tilt>-1.79832856151162e-010</tilt>
<heading>90.559017291950612e-012</heading>
</LookAt>
<styleUrl>root://styleMaps#default+nicon=0x307+hicon=0x317</styleUrl>
<Point>
<coordinates>-71.06915065229849,42.36046685100747,0</coordinates>
</Point>
</Placemark>
</kml>


More on the files...

http://www.keyhole.com/kml/kml_tut.html

I suppose I could get around the problem by zipping each file and attaching it, but that would be a pain!
 
Oh ok - xml's no problem. I'll add those file types as "OK" - probably tomorrow as I do my morning routine.
 
Back
Top