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
4answers
3k views

QGIS exporting attributes in a KML file

Here is what I am doing: Create a layer by uploading a shape file into QGIS Select Attributes of that file Export selected attributes with the "save only selected features" check box when I save the ...
1
vote
2answers
277 views

Openstreetmap routes to kml?

Is there a way to export Openstreetmap public transport routes to kml/kmz? So you can view the routes in Google earth.
1
vote
2answers
255 views

Shapefile to KML Conversion Problems in QGIS 2.6.1 on Mac

I am currently using QGIS 2.6.1 on a Mac with OS 10.9.5. I am trying to export a shapefile using QGIS to KML format. I am having success with the export but the data is skewed halfway across the ...
-1
votes
1answer
147 views

Not able to read Multilinestring and multigeometry with geotool from KML file

We are not able to read Multilinestring tag field from geotools. We are able to read multigeometry but its coordinate we are getting empty. any suggestion or code snippet would really help me. I ...
1
vote
1answer
744 views

How to adjust KML files so that they display properly in Google Earth, ArcGIS Desktop & ArcGIS Online?

The students in one of our labs have been cranking out daily satellite derived Sea Surface Temperature and Chlorophyll maps for a few years. They are published for public consumption and we have been ...
0
votes
1answer
1k views

Reprojecting vector layer from EPSG 3857 to 4326

based on examples from: http://acanimal.github.io/thebookofopenlayers3/chapter03_10_reading_writing_features.html http://acanimal.github.io/thebookofopenlayers3/chapter07_07_editing_features.html I ...
0
votes
1answer
161 views

Converting raster presented in KML to polygon using ArcGIS Desktop?

I have spent quite a lot of time Googling which brought me many places including this site, but I haven't found the resolution. I have a KML that presents a PNG. Radio Mobile generated the files and ...
0
votes
2answers
95 views

how to parse a 3D dxf to kml

How can I parse a 3D dxf to a kml file? I'm looking for an answer that could point me to suitable references. The DXF is pasted below: 0 SECTION 2 HEADER 9 $ACADVER 1 AC1006 9 $UCSORG ...
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
361 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
1answer
336 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 ...
0
votes
0answers
93 views

Extracting wind turbines from particular area in Google Earth Pro using KML?

I have tried a lot for extracting the wind turbines present in a area using Google Earth Pro? But i couldn't get it. Please help me out with kml code for extracting the wind turbines present in a ...
2
votes
1answer
131 views

Converting Historical Railroad Systems Data from KML?

I'm writing a paper for an undergraduate economic history class and I'm interested in North American railways in the 1800's. I've found historical GIS data for the period here. The railroad data are ...
1
vote
0answers
117 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 ...
0
votes
1answer
105 views

Toggling Layers using CartoDB

Does anyone have ideas or know how one might be able to use CartoDB to create a map that one can toggle the individual features within a KML file, as currently happens on this map? I want my users ...
1
vote
0answers
25 views

QGIS Convert SHP to KML keep all attributes [duplicate]

I am trying to convert a SHP to KML in QGIS and want to keep all the attribute fields. As far as I can tell when you do this operation, you can only choose 2 fields (DescriptionField and NameField). ...
15
votes
3answers
8k views

Alternative to Google Earth to edit and organize KML files

I like the way Google Earth displays KML as a "scene graph", that is, a tree structure in the left panel. This allows you to rearrange features in folders, change layer order, etc. via drag-and-drop. ...
1
vote
0answers
19 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
1answer
137 views

Password protect network link on Geoserver

I plan on serving data with geoserver to multiple people in my organization. The data is somewhat sensitive and I was wondering if there is a way to password protect the info so that in order to ...
1
vote
0answers
65 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" ...
2
votes
0answers
173 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
2answers
74 views

Import file format with colors

I am very new to QGIS, so please excuse me if my question seems stupid to you. I have a small question regarding setting manually colors for points and lines. I have a bunch of nodes and vertices to ...
0
votes
1answer
127 views

Export KML from GeoJSON in QGIS and coordinates change?

I'm very new in this area. I have a geojson vector layer file, with coordinates like { "type": "Feature", "geometry": { "type": "Point", "coordinates": [ 487677.2993499999866, 112018.26101 ] } }, ...
2
votes
1answer
641 views

How to center the map to a KML placemark with OpenLayers 3?

I'm using OpenLayers 3 to display my KML layer on the map. My KML contains two placemarks, one contains a linestring of waypoints and the second one is a point, like this: <kml ...
6
votes
2answers
1k views

How do I view GTFS data in QGIS?

I would like to use QGIS to create my map. One data feed is the gtfs regarding to bus routes. I can view it on Google Earth (although laggy), but when I tried to import the .kml into QGIS, it just ran ...
1
vote
0answers
155 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
195 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
239 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 ...
5
votes
1answer
1k views

clip geometries in postgis table if they are inside a polygon

I have polygons defined in KML files just like this one, which I can easily parse. Example: <Polygon><outerBoundaryIs><LinearRing><coordinates> -91.463940,40.372660,0 ...
3
votes
1answer
288 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: ...
1
vote
1answer
323 views

route planner view from kml file

I have a kml file generated dynamically that I can view in google earth no problem. It shows a route for a journey. Is there a way to make this more 'printer friendly' so that I can print this of for ...
1
vote
0answers
62 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 ...
3
votes
0answers
314 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> ...
0
votes
0answers
109 views

PNG from Geoserver size on Google earth seems uncontrollable

I have set up a geoserver instance that hosts a lot of data that we process at work. It seems to be the easiest way to distribute since I can provide a simple network link to the geoserver so that ...
2
votes
1answer
162 views

Why are a polygon's vertices jumbled after importing KML into MySQL?

This is original KML : <Polygon><outerBoundaryIs><LinearRing><coordinates>104.700355,-3.056064 104.632127,-3.103623 104.608924,-3.103169 104.570166,-3.102411 ...
0
votes
1answer
636 views

How can I create a kml file from a geotiff with alpha layer

I am trying to create a kml version of a map tile using gdal_translate on a geotiff with alpha layer (link here) as follows: gdal_translate -of KMLSUPEROVERLAY input.tif output.kml however, the ...
2
votes
1answer
162 views

OpenLayers Only draw features in a vector layer within view

I am dealing with a kml that I am importing into openlayers as a vector layer. This kml has many features so it dramatically slows down the web app. I would like to make it so only the features within ...
1
vote
1answer
274 views

How to define layer style for KML layer within OGR Virtual Format?

I have the following OGR virtual format data source, which includes a few GeoJSON files and one KML file: <OGRVRTDataSource> <OGRVRTUnionLayer name="union"> ...
1
vote
1answer
314 views

multiple shapefile export to kml

I 'm new in Python script and i want to export shapefiles in the folder as the kml file with define layer files. for single shapefile it work perfectly refer below script. But I want to export 4 ...
0
votes
1answer
926 views

Google Earth does not display full ground overlay image

I have the problem that my ground overlays in Google Earth are cut off at the Northern half. But I cannot see any issue with the kml-file. My kml file is this one: <?xml version="1.0" ...
1
vote
1answer
567 views

Import KML to PostGIS

I am looking for a way to import my data from KML (example below) to PostGIS database. <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" ...
2
votes
1answer
488 views

How to calculate kml LatLonBox from corner coordinates?

I have corner coordinates for my image upperleft lat/lon 80.5434057263 -35.6660101669 lowerleft lat/lon 74.8586568503 -16.5889844463 upperright lat/lon 83.3580195158 16.0865335458 lowerright ...
0
votes
1answer
104 views

How to create a googlemaps marker from kml file information

To clearify: I tracked myself via my google account... exported the location history to an xml file. Now I try to extract the coords from a particular time and location but the format confuses me ( ...
1
vote
0answers
451 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
1answer
679 views

converting into .kmz with legend

How to display the legend in kmz or kml file. I am trying to do so in conversion tool of Arc GIS but while exporting it to Google earth it is not showing the legend.
3
votes
0answers
143 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 ...
1
vote
1answer
237 views

KML Time Stamp With UTC Conversion Not Working

So I have a KML Placemark with a <when> tag in it that has the dateTime that I want, however when I load it into google earth, the <when> tag disappears. Here is my code: <?xml ...
1
vote
0answers
247 views

Google Tracks convert kml to shape and preserve attributes

I've been attempting to convert a Google Tracks kmz file to an ESRI shapefile using the GDAL and libkml(http://www.gdal.org/drv_libkml.html) which I built on my Ubuntu 14.04 (64-bit) system. The kml ...
1
vote
0answers
370 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
2answers
633 views

building GDAL with libKML support

I'm attempting to import a kml/kmz file generated using Google Tracks into my QGIS 2.4 system (built with GDAL 1.10). KML files currently lose all attributes, and as such I'm attempting to build GDAL ...