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

learn more… | top users | synonyms

1
vote
0answers
110 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
103 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
7k 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
131 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
61 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
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, ...
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
122 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
613 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
150 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
188 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
232 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
284 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
312 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
305 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
105 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
157 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
606 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
153 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
269 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
297 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
903 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
529 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
460 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
102 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
436 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
634 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
141 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
227 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
240 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
353 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
623 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 ...
1
vote
0answers
37 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
1answer
249 views

Creating an online form with intergrated google maps

Not sure if anyone can help, but i am looking at creating an online form that includes a map (google or something similar) where the user can draw a poly and when the user hits submit, i get all the ...
0
votes
1answer
572 views

Exporting ArcMap Feature to KML while retaining Attached Photo?

I have a set of point features in an ArcGIS file geodatabase. I have attached a photo to one of the points, using the built-in tools 'enable attachments' and 'add attachment'. The photo is stored on ...
0
votes
0answers
167 views

ogr2ogr export to KML from SQLite, when using SELECT for fields Linestrings are lost

I'm using: ogr2ogr -sql "SELECT * FROM 'trails_utm_utf8' ORDER BY name ASC" -f KML trails.kml trails_utm_utf8.sqlite -s_srs EPSG:900913 -t_srs EPSG:4326 to reorder, re-project and export to KML ...
1
vote
2answers
274 views

Windows script/application to convert GPX to KML? [duplicate]

OSRM seems to have everything I need to draw bicycle routes, but it only exports routes as GPX while the smartphone application I use only supports KML. Does someone know if there's a Windows script ...
2
votes
1answer
79 views

How to define KML Name element when using QgsVectorFileWriter?

I am trying to use QgsVectorFileWriter to write a kml file from an active layer in QGIS, but cannot figure out how to define the KML Name element (called NameField in the QGIS save-as GUI) to ...
1
vote
1answer
139 views

How do I preserve measurement between QGIS and Google Earth?

Wondering if anyone has found a way around this: I am having issues when importing shp files into Google Earth. I need reasonably accurate measurement data and my measurements change significantly ...
0
votes
2answers
2k views

How to get lat/long of all adresses inside a polygon in google map?

I have several polygon shapes inside a City in Germany. I need to generate Point data of houses inside those Polygons. It is very time consuming to add all the building Locations manually. I am ...
1
vote
1answer
244 views

2GB .KMZ file wont't open

Not sure if I'm asking the right question. Never used Google Earth Pro before, but I have a 2GB KMZ file and I can't open it. Is there a way to break it down further or is there a limit to how large a ...
1
vote
1answer
537 views

Add kml file with associated png images as openlayer layer

I have private sonar data in kmz format, and can easily produce more. I understand that OpenLayers cannot use kmz files, so my question is if it can handle the uncompressed kml file with all the png ...
3
votes
1answer
581 views

Convert KML to an Attribute table

So I was wondering if it's possible to convert the KML files to an CSV attribute table (of those geometric features). So I've found this code that converts the KML to CSV, but really just prints the ...
1
vote
0answers
202 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
2answers
3k views

Excel Macro to KML using VBA Loop

I am trying to write a VBA loop which will turn a list of addresses and their corresponding Lat Long coordinates in to a KML file for viewing in Google Earth. I have managed to get the opening and ...