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
53 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" ...
3
votes
0answers
303 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
138 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
141 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
722 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
616 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
135 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
31 views

Create network graph from contiguous polygons in KML, or PostGIS?

I am using Postgres 9.5 and PostGIS. I have a table with a geometry field. This table has about 200 rows, in each of which the geometry field contains a Polygon. I would now like to derive an ...
2
votes
0answers
81 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
27 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
277 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
56 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
120 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
50 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
121 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
168 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
242 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
871 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
107 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
301 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
313 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
852 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
673 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
818 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
286 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
565 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
11 views

Why does connected polyline (KML file) appear unconnect in arcmap as layer?

I created polygone in google earth and imported it to arcmap as layer. All things are OK but when I converted polygon to polyline, there some parts of polyline has not shown although its vertices ...
1
vote
0answers
12 views

Edit limited to part of multi geometry collection in kml google earth

I have polylines on kml format ,I want to edit those kml polylines via google earth when I try to modify the polyline I get the error Edit limited to part of multi geometry collection.
1
vote
0answers
21 views

How to create an elevation profile in google earth from a kml?

I have a KML file of a stream that I originally created as a line shapefile in ArcMap (one stream extracted from a larger watershed data set). I need to create an elevation profile of this stream. ...
1
vote
0answers
21 views

google earth - viewing KML file in world map

I"m using google earth and a KML file that I have generated. I would like to display all the KML points in a world map. Google maps online does it but the print is poor. Need a 300 dpi print which ...
1
vote
0answers
37 views

ESRI Javascript KMLLayer and CSVLayer

I have a map where I have a KMLLayer that defines a geographic boundary and a CSVLayer that defines points within that boundary. I do not want any infoWindow information popping up for the KMLLayer ...
1
vote
0answers
40 views

Extract Labels (city names, state names) with shapefiles using QGIS

I want to extract shapefiles with labels on it using QGIS but labels cannot be extracted along with shapefiles. Here's the image: I want this as my output after extraction: How to do something ...
1
vote
0answers
27 views

Google Earth KML Folder Point descriptions clean-up

Having trouble figuring out how to fix the Folder with my point description. The picture I added shows you 2 different point description styles. One has the main point name and popup info underneath ...
1
vote
0answers
17 views

Running basic JavaScript in KML to be viewed through OpenLayers API

I am trying to build an application in which points can be loaded on OSM map using KML called through OpenLayers with a balloon popup on each point. I am using the sample Sundials application: ...
1
vote
0answers
22 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
29 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
23 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
69 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
20 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
283 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
44 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
25 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
28 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
47 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
40 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
165 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
153 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
56 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
73 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 ...