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

learn more… | top users | synonyms

0
votes
1answer
167 views

Problem with adding placemark from kml file with specific id

I have a problem with adding a vector layer from kml file. I am trying to make XMLHttpRequest and add only a placemark with specific id. Nothing is displaying on the map. Request is successful and ...
3
votes
2answers
2k views

OpenLayers.Format.KML write style

I would like to apply a style to the KML that gets generated from the write() operation of OpenLayers.Format.KML. The current style that is on the vector layer does not get exported with this code: ...
3
votes
1answer
153 views

Converting Spidertracks GPS flight tracks into shapefile or kml?

I have some data that will be comming to me from helicopter flights and was recorded with Spidertracks software. Does anyone know how to convert flight tracks from 'Spidertracks' gps flight tracks ...
7
votes
4answers
137 views

From .shp to .kml to .shp Without Losing Attributes

I've converted a shapefile with attributes to a .kml for a client. The .kml and attributes were then edited within google earth. I received the updated .kml and now I need to get it back to .shp. ...
1
vote
1answer
182 views

What KML features are suitable to display 3D atmospheric density data using Google Earth?

I wish to use Google Earth to visualise and explore 3D atmospheric density data. In my case it is ionospheric electron density, which is a niche area, but I can imagine this might have been done by ...
0
votes
1answer
508 views

KML file seems to load in Openlayers without error but doesn't show vectors

I'm trying to load a KML file into an Openlayers map. It seems to successfully run but I am not seeing anything show up on the map. Vectors should show up in an area of New Mexico if it's working ...
3
votes
1answer
264 views

Google earth balloon not fully visible

When i load my KML on google earth, the balloon appears whole but when I embed on a webpage using the embedKML tool, the data in the balloon (In this case a table) appears to be cut. The close button ...
4
votes
4answers
90 views

Export to KML option using Leaflet?

I am very new to this GIS thing. I have to integrate export to KML option in one of my project. I could not see this option while googling. Is there option to do this? <!DOCTYPE html> ...
0
votes
1answer
21 views

How to export to KML from Spatialite command line

The Spatialite GUI can export a Geometry column to KML file. How would one go about doing that from the Spatialite command line? I am looking for an example code preferably - the .help doesn't mention ...
3
votes
2answers
1k views

Any way to view/create/edit Google My Maps KML files on Android?

I have two large (several hundred features) maps created by Google My Maps that I use for my field research. They contain important information required by the field crew for their work on site. ...
1
vote
0answers
11 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 ...
-2
votes
0answers
36 views

A reliable source of shapefiles for boundary data?

Does anybody know of somewhere that I can reliably get shapefiles or kml files for municipal / neighbourhood boundaries for cities across the world? I know that ArcGIS online has some but certainly ...
0
votes
0answers
27 views

Computing areas from data in a lat/long coordinates

I am developing an exercise on computing areas of polygons for a course in scientific computing that I teach. I'd like to have the students estimate the acreage burned in one of the fires in ...
0
votes
2answers
145 views

Adding KML layers to ArcGIS JS API v4 (beta)?

I have been building a web application using ArcGIS JS API v4.0.Beta1. I am having difficulties finding out how to add KML layers to the scene. How do I add the KMLs? I have tried adding a new feature ...
1
vote
1answer
406 views

Get feature from two overlapping KML layers doesn't work

I did an implementation similar to http://openlayers.org/dev/examples/sundials.html The difference is that I have two or more kml layers at the same location and want to show their information ...
3
votes
0answers
15 views

KML/KMZ: Make one placemark appear in two folders?

I'm not actually sure this is quite the right way to approach this problem, so if I'm just off in the wrong direction, please help me figure out where I should be heading. I have a collection of ...
0
votes
0answers
24 views

India Map including all POK and All Cities

I am working on a particular project and need a India Map KML file, which shows POK (Pakistan Occupied Kashmir) in India and Lat Long Information of all cities. I tried on many sites but didn't get ...
0
votes
1answer
147 views

I converted a KML file into a PostGIS db using ogr2ogr. How do I publish all the tables as seperate layers?

As the title says I converted/imported a KML file into my PostGIS database using the ogr2ogr command. Now I am trying to publish each table as a seperate layer onto a GeoServer. I know about cURL, but ...
1
vote
1answer
1k views

Creating MySQL database for storing imported KML?

I need to create a MySQL database for storing coordinates from a KML file with the structure as follows: <Placemark> <name>someplace</name> ...
0
votes
1answer
175 views

OpenLayers3: How to show a KML layer with the export to png Button

so... I have this script: <script> //Script1: Script de criação do mapa. var map = new ol.Map({ layers: [ new ol.layer.Tile({ ...
1
vote
1answer
37 views

Autocad DXF to Qgis and exporting to KML for viewing in Google Maps

/ Background: I have a DWG trace made in AutoCad using Gauss-Kruger coordinate system ( a CRS used in Slovenia ). I'm using AutoDesk Map 3D to transform the coordinate system to WGS84.PseudoMercator ...
1
vote
1answer
2k views

Order of KML Layers in Google Maps API V3

I'm working on a website that when finished will allow the user to turn on and off a number of different KML layers using checkboxes, the layers are parsed through geoXML3 and I want to know how to ...
1
vote
1answer
46 views

Export MapInfo map to Google Earth (.kml file)

I have a map in MapInfo. I can convert it to Google Earth file (.kml) manually but I would like to do it automatically by commands in a function. Can anyone help me?
1
vote
0answers
157 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 ...
68
votes
20answers
58k views

How to convert between KML and Esri's shapefile (SHP) format?

My users are sending me point data that were digitized using GoogleEarth. How can I convert their KML to a shapefile?
1
vote
1answer
979 views

Import SketchUp created KML contour lines model to QGIS

There's a neat trick to create contour lines based on the GE 3D terrain using Sketch-Up. The resulting KML however is a model I have looked at ways of importing KML layers to QGIS, like it was ...
0
votes
0answers
6 views

Google Earth Pop-Up Box - Open Picture in New Window

I have a kml file of photo point locations and associated photos take at that point. The goal is to have a user click on the photo point location and have a pop-up display with the photo taken, photo ...
1
vote
0answers
8 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" ...
1
vote
2answers
268 views

Reducing Size of KML file (After converting from Shapefile)

I have a shape-file of size 224 mega byte. I am using ArcGis to convert it to a KML file. The process involves converting the shapefile to a feature layer and then converting the layer to KML. An ...
3
votes
1answer
816 views

How do you format an OGR VRT file to best convert a CSV to KML?

I am attempting to get a nice KML for simple review of POI/geocoding from a CSV. I a using ogr2ogr and a vrt. You can see the vet file below, with two attempts to get this right. Basically, the issue ...
0
votes
1answer
28 views

How do I show this lake-depth kml in openlayers

I have made some examples showing timezones.kml on top of my map in openlayers v3.8.2 without any big issues but this kml (document.kml) of mine just does not want to work. It just doesn't show at ...
0
votes
1answer
191 views

ogr2ogr from MIF to KML including MID generating split kmls

I have a set of MIF and MID files that I would like to translate to KML. I used ogr2ogr to transform the MIF into one big KML which worked ok like so: ogr2ogr -f "KML" geo-kml geo-mif I have two ...
0
votes
2answers
194 views

Converting GEDCOM to KML?

Does anyone know of a way to convert GEDCOM files to KML? I am building a family tree and I would like to be able to upload the infromation I have gathered to Google Earth. I already tried to use ...
1
vote
1answer
44 views

Upload KML / GML / GeoJson to Geoserver through Rest API

What is the best option, if any, to upload a vector format like GeoJson, and or GML to Geoserver? The environment from which to upload will be a client web-application, so i cannot use curl. In the ...
0
votes
0answers
7 views

ArcGIS layer to kml not exporting properly for datasets that cross +/-180

I am trying to export several hundred vector and raster datasets that show animal ranges and distributions in Alaska to kml so that I can display simple maps on a website (akgap.uaa.alaska.edu) using ...
2
votes
0answers
55 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 ...
0
votes
0answers
13 views

add a network link from ArcGIS Server Manager to Google Earth

I am trying to add a network link into Google Earth - I have the service in ArcGIS Server (10.2) and have the KML capabilities turned on. When I add it to Google Earth, it asks for credentials. But ...
0
votes
1answer
21 views

How to create folders when exporting OL to KML

I have this function that export all plotted features on my OpenLayers (2.6) map, by using the OpenLayers.Format.KML as follows: var featuresToExport = []; for (var i = 0; i < MAP.__layers.length; ...
3
votes
1answer
26 views

Add Features from KML to a GeoPackage using GeoTools

Using GeoTools v13.2 I need to add features to a GeoPackage from KML. So far I can get the features in a SimpleFeatureCollection which can be added to the GeoPackage: public void ...
0
votes
0answers
11 views

ExtendedData and Description coexisting in the same placemark?

I am brand new to KML. I would like to ask if it is possible to have both ExtendedData and Description for the same placemark and have both appear in Google Earth Interface? I am asking because when I ...
0
votes
1answer
37 views

Can the kml file displayed in Google Earth for Android

I have created some 3D buildings and route in kml format and it worked properly in Google Earth (desktop). When i put it in Google Cloud Drive and open it by Google Earth for Android, none of the ...
0
votes
1answer
23 views

How to save a Polygon in an integrated Google Earth

I created a Polygon in Google Earth which is integrated in my Website. Now i have to get the KML File from this Polygon. Can anybody tell me how to do this?
1
vote
1answer
240 views

Use Display Expression for KML Popup, SHP to KML ArcGIS

In Arcmap I've created a complex label expression in the Display expression for my layer. I'd like to have that expression displayed when I convert the layer to .kmz file for display in Google Earth. ...
1
vote
2answers
311 views

How to make my KML/KMZ accessible to the public

I created a basic web dashboard with MVC 4 that has a Google Map open on it. I have a KMZ file I made with ArcGIS desktop of a road in a Google Drive folder that i made publicly available so that i ...
2
votes
2answers
7k views

Export directions from Google to KML?

I used Google to draw directions from one location to another location, but can't find a way to export it as KML so I can import it into my Android smartphone. Is there a way, or must directions be ...
2
votes
2answers
341 views

Android Tablet KML/KMZ App for polygons w/offline & GPS capabilities?

I am looking for an Android app which allows me to view and query polygons stored in KML and/or KMZ with a GPS point representing my location and offline capabilities. My KMZ files are being output ...
0
votes
1answer
455 views

Openlayers 2.12 - add selectFeature to button results in “Geometry Undefined”

I have modified the Openlayers mobile Vienna WMS example, and am trying to change the labelButton to allow selecting of features to open a popup. I think it is necessary to do this as on a touch ...
17
votes
9answers
23k views

How to convert KML to shapefile without losing attributes using QGIS?

I'm new to QGIS and all geoinformation itself but have to work on some difficult stuff. I have a KML file with hundreds of points. To each point there is information, such as Name, Power, Age (it's a ...
0
votes
0answers
14 views

KML to shapefile will not convert attributes embedded in the description field [duplicate]

I have a point shapefile on which I used the "Layer to KML" tool on ArcMap. This tool successfully converted the shapefile into a KML containing all the attributes embedded in the "Placemark ...
2
votes
1answer
182 views

Export to KML (Portland) install fail on .dll load attempt

I downloaded the Export to KML extension for ArcMap and when I follow the instructions and run the batch file, the cmd comes up and as I hit a key to initiate the install, I get an error that reads: ...