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
23 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 ...
1
vote
1answer
624 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 ...
1
vote
1answer
95 views

Why can I only see a default list of KML attributes in attribute table?

I converted a shapefile to kml using ogr2ogr. Glancing at the output, it looks correct -- it has a <Schema ...> and each <ExtendedData> references the schema (I uploaded a snippet here). ...
0
votes
2answers
121 views

Where to find Metropolitan Statistical Area (MSA) KML data?

Hello GIS stackexchange, GIS is not my field, so I apologize if my question is very basic. I need this data for a odd job at work. I have been unsuccessful in finding the data from Google ...
0
votes
1answer
323 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> ...
3
votes
1answer
839 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
1answer
329 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 ...
2
votes
2answers
5k views

How do I overlay a KML on leaflet 0.4.4

I am using Leaflet 0.4.4, I have a KML I would like to overlay on the map, how do I go about doing this? Edit: I am already aware of https://github.com/CloudMade/Leaflet/issues/14, which directs ...
0
votes
1answer
137 views

Convert a KML ImageOverlay to World Files with GDAL

I have many raster outputs from an Open Source radio transmission topographic path tool called SPLAT, georeferenced in KML image overlay format. I have figured out an easy way to use tools to ...
0
votes
1answer
284 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 ...
0
votes
1answer
19 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" ...
0
votes
0answers
12 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
287 views

How to refer KML style inside TileMill

The following KML file contains paths with style and name tags: example. <Folder> <name>Pedestrian</name> <Style id="style-Pedestrian"> ...
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 ...
0
votes
1answer
21 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 ...
1
vote
1answer
27 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
18 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
2answers
122 views

invalid KML representation on ST_GeomFromKML

I exported a table with a geography(MultiPolygon,4326) column using ogr2ogr to a KML file. When trying to re-import any of the shapes using the ST_GeomFromKML function I get the following error: ...
6
votes
3answers
791 views

Using Google Earth Enterprise & ArcGIS platform together?

I have been fielded a few questions about Google Earth Enterprise (GEE) -which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be ...
1
vote
0answers
35 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> ...
0
votes
1answer
415 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 ...
1
vote
1answer
20 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
28 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 ...
0
votes
2answers
55 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
1answer
181 views

Convert shape file to kml without losing symbols

I am using QGIS 2.2 and want to convert a shape file containing point coordinates with userdefined svg-symbols to a kml file. Everything seems to work. The orginal file is in WGS 84 / UTM zone 32N ...
3
votes
1answer
162 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 ...
0
votes
1answer
47 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 ...
1
vote
1answer
20 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
1answer
141 views

How to draw an arc by centerpoint, radius and azimuth in KML

The question is how to generate lon/lat coordinates for an arc/sector. Coordinates can be used/filled into a KML file. Pointers to geometric formula or a program applying the formula are much ...
1
vote
2answers
318 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
0
votes
2answers
89 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 ...
0
votes
1answer
396 views

Setting a scale range for labels in KML files

Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS? If exporting to KML from ArcGIS, I guess the first step is ...
0
votes
0answers
28 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
42 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
1answer
94 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 ...
1
vote
1answer
127 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 ...
1
vote
0answers
22 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
16 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
141 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
332 views

Esri Android Basemap with kml

I created a kml using the kmllayer. When I set the map with a basemap and use the addLayer() method the kml is not shown. I can see the kml layer without a basemap. Can someone post sample code on ...
9
votes
2answers
990 views

Why does one part of GML -> KML conversion not work on Google Maps?

Brand new to all of this, not even sure this is the right forum to ask in... I have a client who wants to visualise cancer incidence and mortality rates by local/unitary authority across Great ...
1
vote
1answer
538 views

Export KML from points plotted in javascript Google Maps API?

I want to export a KML file from points plotted in Javascript using the Google Maps API. Is there a way to do this? The user logs in and checks Google Maps, then plot points on the map and finally ...
0
votes
0answers
18 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
0answers
29 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
27 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
23 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 ...
3
votes
2answers
240 views

google map api v3 large/complex polygons

I have quite some large/complex polygons I'd like to overlay on a Google map. I can do this but wondered what the best/fastest way is to load them? I have tried using a KML but understand there are ...
4
votes
1answer
2k views

How do you import a .SHP into Sketch-Up?

Does anyone know how to use a .SHP in Trimble Sketch-Up? I have tried exporting to KML and CAD from QGIS, but the KML file doesn't read in Sketch-Up. Thanks! -m
1
vote
1answer
54 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 ...
3
votes
2answers
739 views

KML from PostGIS Geometry into Openlayers

im getting the KML value from my postgis database.. st_askml() And the output is like this: ...