Questions tagged [kml]

Keyhole Markup Language (KML) is an XML standard used for expressing geographic annotation and visualisations. The KML file format is used to display and annotate geographic data in Google Earth and other applications.

Overview

KML (Keyhole Markup Language) is an based language for expressing geographic annotation and visualization on web-based online and mobile maps (2d) and earth browsers (3d). It originated as the save format for , but is now an Open Geospatial Consortium (OGC) standard.

In practice most data in kml form is actually stored in a kmz file, which is simply kml data compressed in the format.

Other References

Tag Usage

Consider whether the question would be more suitable on Stack Overflow SE or GIS SE.

2655 questions
10
votes
4 answers

How to prepare KML file for Android Emulator Control?

I am trying to test my application with location information. You know the Emulator Control has an ability to load from KML file. (Eclipse -> DDMS -> Emulator Control -> Location Controls -> KML -> Load KML...) I've prepared KML file using Google…
AndroiDBeginner
  • 3,571
  • 11
  • 40
  • 43
9
votes
2 answers

How long does Google Maps cache kml files?

I have over 20 kml/kmz files that I let users add to a Google Maps (ver 2). I know that if I modify the kml file, Google has it cached and won't update it immediately unless you change the file's name. How long will it be before Google Maps updates…
Aaron Kreider
  • 1,705
  • 5
  • 22
  • 44
9
votes
2 answers

Adding click event to KMLLayer Placemarks and Markers

How do i attach an onclick event to Placemarks specified in the KML file. Can event listeners be added to both google maps and google earth plugin? How would I go about this?
9
votes
3 answers

Android: how to load KML

could some one please tell me if there is a way to load kml file into the google map in android. thanks
i_raqz
  • 2,919
  • 10
  • 51
  • 87
9
votes
2 answers

disabling ipad from creating placemarks on google map

I have a google map that I created with KML: Here is a link to the map: http://goo.gl/maps/dkfjU Here is the complete KML file: https://dl.dropbox.com/u/94943007/02bb39645a3c9d95afeed5cb9bd5d07c040d8ca8a4ee56b9fb367d38.kml When browsing this map…
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062
9
votes
3 answers

How to override KML colors in Google Map?

I am loading a KML file via Google Map's V3 API. The colors in the KML file are being used but I would like to override it with my own color. I actually want to use a solid color for the whole trace. Is there a way to do this?
TruMan1
  • 33,665
  • 59
  • 184
  • 335
8
votes
1 answer

How can I use Qt's QXmlQuery to run XPath queries on a local file?

I'm trying to grab the coordinates from .kml files that look something like this: Name
Matthew Read
  • 1,365
  • 1
  • 30
  • 50
8
votes
3 answers

Openlayers write and save a KML based on your map

Is it possible to write and save a KML from OpenLayers? Anyone know of an example of exporting one?
user1100603
  • 151
  • 1
  • 6
8
votes
3 answers

Adding many circles to a google map

I'm attempting to draw many circles (around 1000) on a google map, at various locations and sizes, and then binding a click event to them. But this many calls of new google.maps.Circle(parameters); makes the page loading slow, and sometimes it just…
EvilAmarant7x
  • 2,059
  • 4
  • 24
  • 33
8
votes
1 answer

VSCode: Delete all occurences of xml tag pair including differing contents

I'm working in a kml (xml) file in VSCode. There are 267 instances of the tags with the same contents schema but different contents. I would like a fast way to delete all of the instances of including the…
Odaat
  • 95
  • 1
  • 6
8
votes
2 answers

Specifying accuracy in GPX or KML

I am developing an Android application and would like to play a recorded track in DDMS tool. Besides latitude and longitude, my recorded data has horizontal accuracy which I'd like to pass to Android phone simulator. Is there a way to specify…
GregK
  • 1,653
  • 2
  • 15
  • 19
8
votes
0 answers

How to Set Delay on Android Emulator GPS Playback?

I want to simulate GPS movement by using Android Emulator on Android Studio's AVD. I already have a .kml file with the structure as follows:
rahadi
  • 156
  • 9
8
votes
2 answers

Convert GeoDataFrame polygons to kml file

I have a geopandas GeoDataFrame with various polygons and colors that I'm using to plot meteorological data (another question I asked here): color geometry 0 #fbfdd1 (POLYGON ((-97.12191717810094 32.569, -97.1194... 1 #f3fabf (POLYGON…
edub
  • 659
  • 4
  • 8
  • 19
8
votes
2 answers

Trigger click event on a Google Maps KML placemark

I have a map that is loading in dynamic external KML with placemarks defined like so: Name Here Text Here #ff8080ff
jocull
  • 20,008
  • 22
  • 105
  • 149
8
votes
2 answers

Kml layers doesn't update when reloading the page

[EDIT] it seems the problem comes from google maps which takes some time to update the KML link...I'm not sure, but in the end, it works...[/EDIT] I embedded an existing public google map on this website : http://www.ridetheflavour.fr Here is the…
Sulliwane
  • 410
  • 6
  • 16