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

learn more… | top users | synonyms

5
votes
0answers
1k views

How to split kml file or extract Placemarks?

I have a file of state 2001 assembly districts outlines, from http://goo.gl/dJPyx in Mapinfo MIF format. I've created a kml file from that using ogr2ogr. These are the outlines of each assembly ...
4
votes
0answers
29 views

Importing KML and style information into Geoserver

So I'm working on a project that's been in development for over a year, but I only recently got involved. My task involves converting roughly 2,500 KML files into another format, importing these files ...
4
votes
0answers
1k views

How to Export a Shapefile as KML Using R

All, I have exported an ESRI shapefile (polygon) to KML using R, but the resulting layer shows only the outer extent of the polygon. How can I fill in the area with a color? Any help is greatly ...
3
votes
0answers
177 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
81 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
125 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
603 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
539 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
130 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
13 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
30 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
44 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
70 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
141 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
601 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
86 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
229 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
227 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
666 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
592 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
759 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
275 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
498 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

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
17 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
21 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
47 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
29 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
31 views

Is there a way to export entire projects or groups to KMZ?

There is a lot of questions about exporting single files, Im trying to see if there is a way to export an entire group in QGIS to a .kmz file that can be opened in google earth. I know there is a way ...
1
vote
0answers
41 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
36 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
131 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
74 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
78 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
53 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 ...
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
129 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 ...
1
vote
0answers
58 views

Extracting the contents of a Google-KML file

I finally found all the datasets I could possibly need from http://globe.six.nsw.gov.au/ ...but a few hours later I'm not sure if it's possible to access this data into QGIS. I've tried MapWindow ...
1
vote
0answers
15 views

Problems with Importing data from Fast Survey to ArcMap

I am having problems with importing data from Fast Survey to ArcMap. I have taken several points in my specific job, but every time I try to upload them not all points appear in Arcmap. An example, I ...
1
vote
0answers
40 views

Google Map iframe KML not displaying correctly

Looking for help in why our embedded KML Google map stopped working today. This is the current code: iframe width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" ...
1
vote
0answers
88 views

ArcMap KML Multigeometry to Shapefile

I have been troubleshooting this issue for quite some time now. I have a variety of tools available to me: ArcMap, QGIS, as well as OGR2OGR. Unfortunately, I have not had any success with any of these ...
1
vote
0answers
98 views

KML Layer Watermark Removal

Hello right now I have a google maps page with KML Layers from multiple online resources. However all of these layers especially those from noaa have giant watermarks that take up large portions of my ...
1
vote
0answers
104 views

Projection problems when importing .kml from Google Earth to QGIS

I want to open several points that I exported from Google Earth as a .kml in QGIS for further use. I can import the data and the points are displayed but something must be wrong with the projection as ...
1
vote
0answers
45 views

How to access ExtendedData/SimpleData from KMLfile using openlayers 2.x?

Is is possible to access SimpleData tag using Openlayers 2.x library? I have a KML file exported from QGis and it stores description data SimpleData tag "<>". i know that there is a way getting ...
1
vote
0answers
270 views

How do I display GroundOverlays in OpenLayers 3 (from a KML)?

The back-end I'm working with serves KMLs in the following format (data is stripped for confidentiality): <?xml ...> <kml ...> <Document> <open>1</open> ...
1
vote
0answers
207 views

Importing kml google earth polygons to QGIS

I've created some polygons in google earth, saved it to kml and then I loaded these files into QGIS. The problem seems to be the projection, these polygons are slightly out of the place. I've tried ...
1
vote
0answers
35 views

Google earth plug in loading old ground overlay

Im having a problem were i have updated Groundoverlay images and the links, but the plug in is either showing the old overlays or just greyed out, when viewed on my PC I know the coding is ok as is i ...
1
vote
0answers
124 views

Loading KML WMS Network Link through Google Earth API

I'm trying to add a KML network link with the Google Earth API using the same function that I have used for regular KMLs and KMZs. Sources suggest to create a KML with a "Ground Overlay" to connect to ...
1
vote
0answers
117 views

Create Polygon with inner polygons from KML or Shapefiles?

I am creating a windows forms application and I want to create a polygon from a KML or Shapefile as a layer on top of a Google Satellite map. Today I am using GMap.NET that got an polygon object but ...