KML is an XML file format used to display and annotate geographic data, made popular by Google Earth.

learn more… | top users | synonyms

3
votes
0answers
37 views

Google Earth KML Autoload/Distribution

Situation: We have installed Google Earth on the whole computer network. We have one KML with all our projects. Need: Distribute the KML on all those Google Earth instances. Requirements: ...
3
votes
0answers
265 views

Problem importing KML file to OpenLayers - Projection System

I know that many have this problem,but none of the answers helped me so i suppose it's a different problem.This is my code: <!DOCTYPE html> <html> <head> ...
3
votes
0answers
123 views

How to export two related layers to KML with multigeometry using QGIS?

From QGIS, I would like to create a KML file, for GoogleEarth, which contains multigeometry in that KML file. By example: consider two layers in QGIS -- the first layer contains polygons, and the ...
3
votes
0answers
138 views

traversing KML files with ogr python

i'm new to OGR processing and KML format so be gentle: i've got a series of KML files all containing multiple regions partitioning a larger area in each. i also have a series of geocoded points for ...
3
votes
0answers
687 views

How Do i Secure My KML files for a rails application?

I would want to keep my KML files to be secure or password protected. I am keeping them on a public server, and i dont want them to be accessible to anyone. I am using geoxml3, so any lock applied to ...
3
votes
0answers
600 views

How to export multiple Shapefiles to one KML file in QGIS?

As the title says, is it possible to export multiple Shapefiles to one single KML in Quantum GIS (Similar to "Map to KML" in ArcMAP)?
3
votes
0answers
133 views

How do I set relative paths for KMZs?

This is an Arc2Earth question - I'm converting a large vector dataset to a KML with regions. The resulting kmz works great on my computer but the files paths are all actual paths and not relative, so ...
2
votes
0answers
29 views

Z values in kml

My goal is to create a KML line and/or polygon where the z-values of the vertices equal the z-values from point data (where the csv has a Z field). So far, I have created a spreadsheet which, given a ...
2
votes
0answers
41 views

How to scale, rotate and translate a KMZ file in Google Earth

I'm a GIS software developer. I would like to adjust manually a KMZ over Google Earth images scaling, shifting and rotating it. What I'm wondering is a tool like the one in Google Earth to add a ...
2
votes
0answers
18 views

Converted ArcMap to KML Layer doesn't scale in Google Earth

I converted an ArcMap layer to KML and exported to Google Earth. I had set the Layer Output Scale to '1' during conversion, however when I open in Google Earth, the layer does not scale as I zoom in. ...
2
votes
0answers
37 views

Geoserver: Exception when importing KML

I have a KML that I would like to import into Geoserver. The KML originates from a Geoserver WFS getFeature Request itself and looks like this: <?xml version="1.0" encoding="UTF-8" ...
2
votes
0answers
182 views

Qgis 2.10-kml is not a valid or recognized data source

After upgrade from Qgis 2.8, importing the kml format doesn't work. The Kml file is not problem, because it works well on other computers. I tried to reinstall Qgis, but the problem is still ...
2
votes
0answers
46 views

Why does GPSBabel turn a short GPX route into a big KML with waypoints?

I read the online help file before asking but didn't find what's wrong with the following command to convert a small GPX file from www.cycle.travel to a KML that I can use with a smartphone ...
2
votes
0answers
87 views

Command-line utility to convert GPX into KML?

I use Cycle.travel to draw cycling routes. However, the Android application I use on my smartphone only supports KML. As an alternative to GPSVisualizer, I tried the command-line utility GPSBabel, ...
2
votes
0answers
48 views

Understanding Latitude Jumps

I'm decoding some AIS messages and outputting KML files showing routes. Looking at some ships in the Adriatic Sea there are some weird Latitude jumps that I don't understand. Several ships show ...
2
votes
0answers
95 views

How to convert a layer with a symbology using multiple attributes to a KML file using ArcGIS Desktop?

I could use some advice to convert a point feature layer with a symbology that uses multiple attributes (a color-scheme attributed to the percentage of positive malaria cases and a symbol size ...
2
votes
0answers
129 views

Using OGR2OGR with LIBKML (Examples please)

I am trying to figure out how to use GDAL (ogr2ogr) to export spatial data from SQLServer to KML. The standard KML driver works, but it is not very robust. LIBKML has so much promise (layers, styling, ...
2
votes
0answers
200 views

Converting KML To Layer using ArcPy losing objects?

I am trying to a convert kml file to a layer using python. This is my code: import arcpy arcpy.KMLToLayer_conversion('C:\kml\\result.kml', 'C:\kml', 'result') But the layer has lost a lot of ...
2
votes
0answers
761 views

Adding KmlLayer using local file (File API)

I am trying to load a local KML file to the map for this I am using FileReader object (File API). To use google.maps.KmlLayer I need to use readAsDataURL to transform to a URL the file, the problem is ...
2
votes
0answers
102 views

Is there a size restriction on KML layer in esri map?

My website utilizes ESRI's map and it contains several KML layers. Most of them show up fine except for the ones bigger than ~4MB. Are there any restrictions on KML file size? Thanks,
2
votes
0answers
277 views

Input a KML file dynamically into MapServer without losing attributes?

Is there any possibility for MapServer (I'm running v6.2.1) to process the features / styles from a KML file dynamically? I tried STYLEITEM "AUTO" but it turned out to work only for *.dgn and *.tab ...
2
votes
0answers
289 views

How to serve KML files from ArcGIS Server in AGS JSAPI 3.6

I have a javascript test page that adds a couple kml layers to a map and I can toggle them off and on. I seem to get info popups for free with KML. When I click on a point feature I get the data ...
2
votes
0answers
797 views

Geotools, output to kml and convert meters

I have a complex problem. I'm using geotools 10.* I have input data: latitude, longitude (WGS_84), radius in meters, start angle (12 o'clock), end angle (clockwise, i.e. turn to the right). I need ...
2
votes
0answers
645 views

egeoxml vs geoxml

What is the difference between egeoxml and geoxml? What i know is both are client-side parsers and both allow me to edit the kml files on the run. I guess egeoxml is an initiative by google itself ...
2
votes
0answers
802 views

How to draw an overlay using KML on our own app in Android?

Repost from here Hi there, I want to draw an overlay using .kml files, just look like this. But on my own app in MapActivity. 31.kml, display district in Jakarta, Indonesia or the example that I get ...
2
votes
0answers
1k views

OSGB36 to WGS84 reprojection 'error'

First off, I am a recent convert to QGIS and am greatly impressed with its ease of use and speed compared with the ESRI products with which I am more familiar - my congratulations and thanks to its ...
2
votes
0answers
283 views

How to programatically add KML Icons to Placemark generated from SimpleFeatures using GeoTools?

I have successfully generated a set of (unstyled) placemarks in a KML file using the GeoTools framework, and the Encoder class. The file renders fine in Google Earth with standard balloon placemarks. ...
2
votes
0answers
547 views

directions (path find) given kml supplied bounds

Im trying to generate directions using google.maps.DirectionsService and I really need those directions bounded by the paths defined from within a pre-made kml file. I have reviewed the API docs for ...
1
vote
0answers
15 views

Can GML contain symbology?

I know that KML can contain symbology in it. I understand that GML is the open version of it. Can GML contain symbology too?
1
vote
0answers
20 views

KML Regions feature not working in Google Earth 8.0.2.2334 installed on Android

When I load a kml in Google Earth 8.0.2.2334 installed on my Android phone, the KML Regions feature is not working (for me). I have read and reread the Google Dev pages. I have googled for a solution ...
1
vote
0answers
21 views

Showing polygon in OpenLayers Timeline?

I am trying to use the OpenLayers TimeLine library with a kml file. I used the available example for kml in github, but it shows points instead of polygon. How can I display polygon the TimeLine ...
1
vote
0answers
47 views

QGIS KML layer won't show up in Google Maps API

I've trimmed US Census shapefile data to show census blocks in just three states, by editing the attribute table. I then color coded the states based on values in the table by changing the style in ...
1
vote
0answers
14 views

Map to KML not exporting all layers within data frame

I have about 12 layers in my TOC originating from various sources (Folder, GDB and another folder). I would like to convert all this to a KMZ file. When I select "Layers" in the "Map to KML" tool data ...
1
vote
0answers
158 views

Google maps api kml layer not working

The code below was working, but now it is not. This isn't my actual production code, just my KML test document to make sure everything is working. I got this document as a working example from stack ...
1
vote
0answers
36 views

getImageData() returns all 0 values in data for an OpenLayers3 layer set as Transparent (Safari 8 on OSX Yosemite)

Please pardon my ignorance if this seems trivial, but I am very new to using openlayers3 for map rendering. I am rendering a Tiled layer over the world map layer for the KML data from CGI mapserver ...
1
vote
0answers
19 views

Missing XML Attributes in Geoserver

I've imported a number of files that used to be in KML format into geoserver after putting everything into a PostGIS table. Now I would like to use CSS style information that was associated with the ...
1
vote
0answers
27 views

Descriptions for KML Paths on Google Earth for iOS

I am displaying hurricane paths on Google Earth where if you click on a path it shows a description in a window containing info such as wind speeds, category, location, etc. This works perfectly fine ...
1
vote
0answers
40 views

Shaded KML overlays on OSM tiles in QGIS?

This seems simple - but the solution is escaping me. I have a series of dynamically generated KML files describing simple, shaded polygons, with each polygon having a slightly different (externally ...
1
vote
0answers
34 views

Converting Map Files to KML Overlay

Had a quick look around and didn't quite see what I've been looking for. I've got a .Net Web Application that is going to accept different map files and I want to convert everything over to KML so ...
1
vote
0answers
135 views

How to update kml file/layer dynamically?

I am using a kml file for displaying map with custom boundary lines. That kml file is downloaded from some website. In that file, inside the placemark tag there is no point tag for display icons. Eg: ...
1
vote
0answers
118 views

Importing KML Google Maps files with custom data tables to Qgis 2.4.0

I am trying to visualize the complete attribute table of an exported Google Maps KML file with a customized data table, but QGIS won't parse the added information correctly. This is what I can read ...
1
vote
0answers
47 views

Displaying multiple features from a geoserver layer with time and style in a KML

I have 4 datasets organized in a PostGIS database each of the same geometry and location except they are at different times. They each have a corresponding datetime field. I can load these into a ...
1
vote
0answers
67 views

Highlight a feature on WMS layer using OL3 + mapserver + KML

This is regarding question :- Highlight a feature on WMS layer using OL3 + mapserver We are using KML file not the POSTGIS DB. So what parameters for metadata "gml_geometries" would be there in ...
1
vote
0answers
58 views

qgis Points data from KML file

Forgive me if this question has been asked before. My search of the site did not turn up anything relevant, so I decided to ask this question. I have a KML file with Waypoints and several Tracks in ...
1
vote
0answers
351 views

Using Google Earth Pro style templates

When importing a CSV file into Google Earth Pro, I am asked if I want to apply a style template. I do. I'd like to be able to load a previously defined template rather than have to set the style ...
1
vote
0answers
272 views

Import KML file into GeoDjango

I'm trying to import a KML file into an existing GeoDjango app (using a Postgres 9.3 database). This is my Django model: class PCT(models.Model): code = models.CharField(max_length=3, ...
1
vote
0answers
97 views

Geotagging photos with Point Shape via Time Stamp

I have waypoints which I marked with a gps device - unfortunatelly no track/route. And I have photos which I took at the same day. Now I want to interpolate the points to line and use this line to ...
1
vote
0answers
146 views

How do I extract only the visible placemarks from a KML?

I've been given a KML file containing over 1000 placemarks, a small subset of which were selected by a user in Google Earth and made visible (by checking the checkbox next to the feature name). I've ...
1
vote
0answers
21 views

KML To Automobile GPS

I've created a bunch of Placemarks and have them in a kml file. Is there a way to get this into the GPS of a car?
1
vote
0answers
297 views

Length difference between Google Earth and ArcGIS for Desktop?

I have drawn a complex path with multiple vertices in Google Earth (GE) Pro and its measurement property is shown as being 2,460 nm. It is located East of Australia. If i import this KML into ArcGIS ...