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
224 views

Getting “Points of LinearRing do not form a closed linestring”

I downloaded the data provided here as KML, exported to ESRI Shapefile format, checked it on QGIS and everything looked fine. Upon trying to use the layermapping utility of Geodjango I am getting ...
0
votes
1answer
32 views

Editing KML breaks icons

Edit: Solved it. When I was creating my new zip/kmz my code was creating various folders within the zip/kmz. Changed: NewZip.write(addedfile) to: NewZip.write(addedfile, newfl) /Edit I have KMZs ...
1
vote
2answers
81 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: ...
4
votes
1answer
212 views

How to generate xml for use with geoxml3

I have a kml and shp I would like to convert to an xml to use with geoxml3. How would I go about doing such a thing? The xml I generate should look something like this: <?xml version="1.0" ...
0
votes
2answers
441 views

How can I view a .kml or .kmz file on a mobile device offline?

I need to view a KML/KMZ file on a mobile device in a remote area where there will not be service. I have downloaded apps that have maps of the area; these maps will be available offline. However, I ...
0
votes
0answers
31 views

Shapefile to KML automatic updates (ModelBuilder)

I am trying to set a model to where it can automatically update a KML only when there are new features added or modified to my shapefile. Trying to avoid having to convert periodically. Can anyone ...
9
votes
4answers
265 views

Google Maps and Search for KML URL

Can anyone tell me how I could add the functionality as seen on google maps that allow users to specify a URL to a KML file in the search bar? I would like to include this in my own embedded map but ...
0
votes
0answers
25 views

How to align edge of a polygon from one shape file with edge of polygon from another shape file

Initially I had a kml file of geographic regions. Each region is a single polygon. I have imported the kml file into ArcGIS as a shape file. Several of the sides of the regions are supposed to align ...
4
votes
2answers
64 views

Features not added to KML Vector Layer in Firefox

Has anyone else had a KML vector layer display perfectly fine in Chrome (v35) and IE10+, but fails to add the features to the layer in Firefox (v30)? I'm using OpenLayers 2.12 and have also tested in ...
0
votes
0answers
24 views

Embedding a open source topographic Earth (maybe Google Earth) onto a website?

For a project, I want to create a website that includes something that resembles Google Earth. For this website I would like the starry night background with the Earth in the middle (like that on ...
1
vote
1answer
46 views

How to render tiles from kml file

I'm trying to render tiles out of a KML file. Normally, I'd render tiles out of an planet.osm extract. For example, I'd select a tag using osmosis and then process it with osm2pgsql. Then I'd ...
0
votes
1answer
106 views

Geodjango render_to_kml Multipolygons - Can be fast or faster as WMS?

I am learning now geodjango. I made basic web app with postgis database. With openlayers iam displaying basic wms map and I want to add other layers from my postgis database. I use render_to_kml ...
0
votes
1answer
334 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 ...
3
votes
4answers
1k views

can't read attribute from map file (.kml) using openlayers

I want to create thematic maps using openlayer with kml map. but when i run the code, color and label thematic maps of the polygon can't show up. instead writing out undefined. what's the cause? are ...
8
votes
2answers
932 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 ...
0
votes
1answer
45 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
0answers
35 views

Retrieving all towns/cities/villages within 2km of river path?

I need to find all the cities/towns/villages that are within a 2km range along a river path. So the solution I have now is to create a google custom map, and draw a polygon which will be 2km from ...
0
votes
0answers
36 views

KML parsing error: parse error line 1, column 0. Not well-formed, invalid token

A week ago I opened an old .kmz file in google earth to add a few pin-drops. Everything saved correctly and updated for a good 3 days, then I started to get a parsing error in google earth upon ...
0
votes
3answers
632 views

KML attribute data on onload of html page using openlayers

How to get KML attribute data on onload of html page using openlayers. This is kml file: click here to get kml file Any help is appreciated. Thanks in advance.
0
votes
1answer
296 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 ...
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
2answers
61 views

How to remove the description information when exporting to KML?

I have been working in ArcGIS to convert shapefiles into kml files using ArcGIS toolbox. The resulted kml/kmz contain some extra set of information in the description field that is used to show a ...
1
vote
1answer
394 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
27 views

Google Earth Canada NTS 1:50000 Overlay

Not that long ago there was a Google Earth kml overlay file (ie. wms-ctis.kml) titled Canada Geographic Names and Maps which included the Overlay Canadian topographic maps. This would allow one to ...
5
votes
4answers
1k views

Create a ground overlay kml from georeferenced raster

I have a world georeferenced raster (5m resolution, ~4000 x 4000 pixels) that I would like to display in google earth. I am looking for a simple and effective way to generate this kml file. Using ...
3
votes
1answer
702 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
2answers
278 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
1answer
215 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
127 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 ...
3
votes
1answer
122 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
26 views

Use Microstation wireframe model for OpenStreepMap

I've got an entire city in Microstation DGN format. I'm able to convert it into Google Earth (KML), DXF, SVG and other formats, and then in .osm with ogr2osm. However, the 3D model is build entirely ...
0
votes
1answer
205 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
276 views

How to autoclamp to ground automatically in Google Earth using a dynamic KML created from ArcGIS Server 10

It loads as an absolute everytime so terrain must be turned off to see the lines. Any idea how to get it so they default to clamped to ground? Using newest version of GE.
0
votes
1answer
74 views

sub-dividing KML files

I do have a kmz file which marks the boundaries of a larger district and it's sub-districts. Still new to GIS and in the process of getting familiar with QGIS, I wonder can anyone advise me how can I ...
0
votes
0answers
12 views

Is the geoxml3 javascript API compatible with the mapstraction API?

I am getting ready to revamp a google maps application and I was considering utilizing mapstraction. I am currently using all google maps js, with a kml layer overlay, but obviously by using the ...
1
vote
1answer
82 views

Looking for an android solution for offline kml/kmz file viewer with gps support

I have some KMZ files of cadastral maps. I need to fiscally go to the boundaries of my lands (parcels) and take a look at where they are with the gps and maps support. Some of these places are not ...
0
votes
1answer
19 views

How to export qgis as a kml file?

I have a .qgis contour plot. I would like to convert this to a .kml file. How specifically would I go about doing this?
1
vote
0answers
39 views

How do I embed a KML map using the “new” Google Maps?

I have a KML link that I can use to generate an embedded Google Map using "old" Google Maps and would like to use it instead to create a "new" Google Map embedding. To generate the an "old" ...
0
votes
1answer
38 views

How to convert excel csv file to filled contour Google Earth Map?

I have a csv file http://www.geocities.ws/radar/data2.csv. The first column is latitude. The second column is lonitude. The third column is precipitation type. 5 represents freezing rain. 15 ...
1
vote
1answer
476 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
25 views

Creating a layer switch Google Maps Api v3

I have generated a basic webpage with Visual Studio 2012 that displays a Google Map. My goal is to add multiple KML layers from my Server onto the Google Map, BUT, i want to be able to have a sort of ...
2
votes
1answer
296 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 ...
0
votes
1answer
152 views

Auto Generate kml files along the roads for more than 8 points

What I am trying to do: Auto Generate kml files for bus routes. Input: Bus stop list for each route with name and lat/long (every list has more than >30 bus stops.) Output: kml file of the route ...
1
vote
1answer
476 views

Draw lines and Move the marker at the same time with KML format

it is possible to draw a line and put the Marker in the top of the line with KML format? or have i to make two KML files, it's that to say, One KML file for the Lines and another one for The Markers? ...
0
votes
2answers
27 views

Convert 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 ...
0
votes
2answers
94 views

Where do I put pause and balloon visibility commands in KMZ tour?

I am teaching a new course called Global Studies, which looks at many aspects of various regions of the world. As in introduction to each region, I plan on making a Google Earth tour with ...
0
votes
1answer
19 views

Kml not overlaying onto Google Map

I created a basic dashboard with MVC 4, visual studio 2012, The dashboard displays a Google map. Here is an image of the dashboard: My intention is to be able to take this Kml file: And ...
1
vote
1answer
52 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 ...
0
votes
1answer
23 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> ...
1
vote
1answer
37 views

Simulating historic GPS data on map [duplicate]

I have some really basic newbie questions. I have following data with me: ESRI Shape files (.shp, .shx, .dbf, .prj, .sbn and .sbx) KML/KMZ files GPS coordinates (~400k) of some cars (~50) tracked ...