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
0answers
3 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 ...
0
votes
0answers
10 views

Deviated InfoBox - Geojson

I tried to showing info-Box after click (onmouseclick), that is goes well but info-Box's location is far away from my geojson area. Can Someone explain to me what happen in here?
3
votes
1answer
62 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 ...
2
votes
1answer
17 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: ...
0
votes
0answers
12 views

Google Earth does not honor the Drawing order of layer group from Geoserver

I'm hosting a variety of data using geoserver. Some psql, but mostly shapefiles. I have a layer group that has the drawing order set to draw the feature with the green square after the big red ...
1
vote
1answer
18 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
9 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
37 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
17 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
60 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
17 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
22 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
32 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"> ...
0
votes
1answer
44 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
0answers
22 views

Would like map to be divided by region and for it to cluster markers, based on zoom level, using Google Maps Engine?

I am more of an GIS analyst than a developer and I do not have any Java / HTML coding experience. I was hoping that I could get through this using the Google Maps Engine documentation but it has ...
0
votes
1answer
36 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
43 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" ...
0
votes
1answer
26 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
21 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
54 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
27 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
36 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
28 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 ...
0
votes
0answers
50 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
60 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 ...
0
votes
2answers
78 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
28 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
31 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
0answers
30 views

Import export KML Layers in Flex Viewer

Hi I had a request from a peer for a KML import/export for the ArcGIS Flex Viewer. I could not find much except for a KML Importer widget that no longer works for flex viewer (stopped at 2.5). Is ...
0
votes
1answer
54 views

Error Exporting ArcMap Feature to KML, Retain 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
34 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
33 views

Windows script/application to convert GPX to KML?

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
24 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
59 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
153 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
53 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
86 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 ...
0
votes
0answers
72 views

Can someone explain the use of relative paths with KMZ and KML files?

I am saving a map to KML from ArcMap, which creates a KMZ file. In the attribute table of one of the shapefiles, in this case soil borings, I have entered a typical "<href XXX </a>" ...
3
votes
1answer
84 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
78 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
1answer
233 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 ...
0
votes
1answer
34 views

KML Layers suddently not appearing on embedded Google map

I have an embedded map on: http://wtc.army.mil/modules/family%20and%20caregivers/sfacMap.html I am receiving the error below in different forms related to the session id/token trailing after the ...
3
votes
2answers
108 views

KML, OpenLayers: attribute imported as string rather than number

I apologize for what is, I'm sure, a very village-idiot question, but I think my question is simply too dumb for the answers I've found on this subject. I've used QGIS to save a shapefile (.shp) file ...
0
votes
2answers
44 views

How can I efficiently divide a KML file by area, while using ogr2ogr?

I have a work process which uses an ogr2ogr text command to convert a MapInfo TAB file to a KML file. I'm very pleased with this because it maintains the original symbology (a simple 2 colour system ...
0
votes
0answers
21 views

Dot density inside polygon (kml co-ordinates)

I have a kmz url(its not in local), which has so many polygons in it. Which contains co-ordinates something like: <LinearRing> <coordinates>138.878021,-34.971903,0.0 ...
1
vote
1answer
65 views

Merge KML layers into one

Using data exported from Google Earth I ma trying to plot restaurants over a large area. To collect all the data for the area I had to use several searches in Google Earth and these are shown when ...
0
votes
1answer
36 views

Can't save map with different projection in QGIS

I'm using QGIS 2.4 and am opening a shapefile I downloaded (specifically from: http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_coastline.zip). What I ...
2
votes
2answers
88 views

Any idea how to export multiple KML files from one SHP layer?

When exporting one KML, it's exceeding the Google Fusion Table's max limit of 100mb per upload. Fusion Tables however lets users merge more than one KML for a merged max size of 250mb. Any idea how to ...
1
vote
1answer
40 views

Handling KML/CSV with geopandas - DriverError: unsupported driver: u'CSV'

I'm trying to import a dataset of UK postcode districts UK postcode districts from Google Fusion tables into geopandas with the aim of splicing it to a dataset of house prices. The problem is that ...
1
vote
0answers
53 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 ...