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

learn more… | top users | synonyms

4
votes
0answers
998 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 ...
4
votes
0answers
966 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 ...
3
votes
0answers
136 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
58 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
115 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
551 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
513 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
128 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
112 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
72 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
211 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
200 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
597 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
558 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
734 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
889 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
267 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
456 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
14 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
26 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
40 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
40 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
28 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
36 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
70 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
38 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
13 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
30 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
43 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, ...
1
vote
0answers
61 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
74 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
66 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
22 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
198 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
151 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
31 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
100 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
84 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 ...
1
vote
0answers
132 views

How do I embed a KML map using the “new” Google Maps?

I have a KML link that I can use to generate an embedded Google Map using "old" Google Maps and would like to use it instead to create a "new" Google Map embedding. To generate the an "old" ...
1
vote
0answers
20 views

Many layers from a unique KML files ? (OpenLayers)

I have a KML file generated from a server that contains many networks. I want to know if is it possible to generate one layer for each network from this single KML file ? Thank you!
1
vote
0answers
65 views

Tutorials related to the transformation of building geometries from CityGML to KML/Collada?

I have some 3D building geometries in CityGML that I want to transform into KML/KMZ. Apparently the way KML works is to build the geometry in Collada and do the georeferencing in the actual KML file. ...
1
vote
0answers
150 views

How to import large features to Google Fusion Table from KML?

I am trying to import rather large features to Google Fusion Table from KML files (I have also shapefiles). However, Google has a certain limitation: "a cell of data in Fusion Tables supports a ...
1
vote
0answers
37 views

Selected output format is not supported with this function? Wikimapia API

I have been trying with limited luck to instigate the &format=kml with the place.getbyarea function. I have been trying to isolate any additional paramater that might be conflicting with the ...
1
vote
0answers
42 views

kml to kml conversion with XSL

I have a simple KML file witch I get with ogr2ogr where all placemark are 2D polygon like this one : <Placemark> <Style> ...
1
vote
0answers
496 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 ...
1
vote
0answers
69 views

Save GM directions as KML - with timestamps?

In Google Maps I use Get Directions and after saving the result as a 'map' and opening it in My Places I am able to save it as a KML. All fine up to a point, allowing me to display the route in Google ...
1
vote
0answers
29 views

Setting global CSS and Javascript in .KML

I've tried googling this question, but I was wondering if it is possible to declare common styles (CSS) and Javascript functions that are being referenced within the tag of multiple placemarks?
1
vote
0answers
33 views

Mapwindow and XTools error: XSI is an undeclared namespace

I have tried MapWindow and XTools and have gotten this same error both times when trying to import a KML file into Shapefile format. Does anyone know how I can eliminate this error message? "There ...
1
vote
0answers
209 views

GeoTools: SimpleFeatureCollection to KML error CoordinateReferenceSystem

I want to export a SimpleFeatureCollection (Read from a MySQL DB) to a KML file, here is my code used to read the infos into the console: private void featureCollectionToKML(SimpleFeatureCollection ...