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

learn more… | top users | synonyms

2
votes
1answer
1k views

'undefined' is not a constructor (evaluating 'new > OpenLayers.Layer.GML'

My OpenLayers map was working fine before, showing a KML overlay. Suddenly it broke. Now I see this error in my browser error console. TypeError: 'undefined' is not a constructor (evaluating 'new ...
6
votes
1answer
292 views

regionating vector data for use in Google Earth

Does anybody know of free/open source tools to regionate vector (kml) data, like the regionate tool in Google Earth Pro (see http://support.google.com/earth/bin/answer.py?hl=en&answer=175007)? I ...
4
votes
2answers
4k views

How to merge many individual KML layers into one?

I'd like to open a USGS KML file of bedrock geology for an entire county, but there are over 2,000 individual polygon layers. Does anyone know if there is a way to merge all of these layers together ...
7
votes
3answers
811 views

where do I download POIs from Wikipedia? placeopedia used to have them but is now gone

I am trying to improve OpenStreetMap in Siem Reap, Cambodia. A way I am doing this is to add temple locations. I hear that there is a dataset of temple locations available from Wikipedia (presumably ...
3
votes
1answer
140 views

Spidertracks to GIS

I have some data that will be comming to me from helicopter flights and was recorded with Spidertracks software. Does anyone know how to convert flight tracks from 'Spidertracks' gps flight tracks ...
3
votes
3answers
1k views

openlayers attribute substitution failing on kml file

I'm trying to read in mile markers for a marathon from a .kml file and use the MILE attribute to set the label. My layer code looks like this: // add layer mile_markers_layer = new ...
3
votes
1answer
2k views

Problems adding KML layer in OpenLayers

I'm stuggling to add a KML layer to a simple test OpenLayers map - no errors are shown, but the KML layer does not display on the map. I've tried multiple samples including the Sundials on a ...
1
vote
1answer
339 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.
5
votes
1answer
2k views

Is there a way to export QGIS layers to KML?

has had anyone had any luck with the new experimental plugin qgis2kml? I keep getting the error msg layer : format not yet supported I had a look but the author has not provided any documentation, ...
0
votes
1answer
279 views

How to cluster kml features in OpenLayers

Is it possible to cluster KML features in OpenLayers, and are there any samples? I can find separate samples for clusters and KML but nothing which handles both together. Thanks
3
votes
3answers
3k views

How to display 33k placemarks with custom symbols/labels?

I want to overlay address numbers on our embedded Google Map (V3 api). Even though the KML is under 2 MB, it exceeds the 1,000 feature limit; there are over 33,000 placemarks. Fusion tables solve ...
4
votes
1answer
231 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" ...
1
vote
0answers
190 views

QGIS kml file converted from shp do not work properly

QGIS 1.8 installed with OSgeo4W Windows 7 shp - right click - save as - kml - WGS84 the resulting kml instead of a polygon in Italy is a bunch of segments spread over the south pole I suppose the ...
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 ...
4
votes
1answer
84 views

Different ways to publish media-enhanced route/trail information to mobile users

I'm looking for some different approaches that a non-profit I'm helping could use to publish information about some tourism routes. Each route is 1-2 tracks, with some historical background ...
2
votes
1answer
759 views

Filtering a loaded kml file in OpenLayers

I'm trying to create an interactive search engine (for finding event tickets) of which one of its features is a visual map that shows related venues using OpenLayers. I have a plethora of venues ...
7
votes
4answers
2k views

Presenting geospatial data in Powerpoint

I am looking for a more elegant way to display geospatial data in Powerpoint. KMLs seem to be becoming the norm for quickly showing interactive geospatial data to colleagues and the general public. ...
3
votes
2answers
2k views

Openlayers create, edit and save/export to kml

I'm trying to create, edit and save a point vector as kml file in an Openlayers app. I have managed the create and edit by adding and empty vector layer and then adding the control ...
2
votes
3answers
2k views

How feasible to extract data from KML/KMZ files

We have a large bunch of KML files, they are basically global cable maps. In our company they are wide-spread and everybody uses them with Google Earth. Now there is an interest to extract ...
1
vote
0answers
392 views

Loading a KML Layer Underneath a Fusion Table Layer

I am working on a map that will incorporate both Fusion Tables and KML layers, parsed through geoXML3. As my Fusion Table Layer is a point file I would like it to always be on top of the KML's which ...
2
votes
2answers
756 views

How to parse and display KML on Bing maps under SSL

This may seem like a simple question at first, but let me explain. We have several mapping solutions, however one is strictly Bing maps (v6) based. "Use open layers" will not be a possible solution ...
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 ...
5
votes
3answers
3k views

Labels aren't showing up when I convert from .mxd to .kml

I've been trying to convert a map from .mxd to .kml for google earth. The map has municipalities labeled as well as train stations. When I save it and open it in Google Earth, only the train station ...
2
votes
0answers
678 views

How to draw an overlay using KML on our own app in Android?

Repost from here Hi there, I want to draw an overlay using .kml files, just look like this. But on my own app in MapActivity. 31.kml, display district in Jakarta, Indonesia or the example that I get ...
1
vote
0answers
148 views

Why can't Android phones render this KML poly?

Our outage map works well in browsers and most mobile devices. The map can be found here: Test Outage Map However, on Android phones the perimeter polygon is rendered as black. Have tried changing ...
13
votes
2answers
6k views

ogr2ogr converting to shapefile - how to select feature types?

Shapefiles can only have one geometry type, but many other formats (kml, geojson) can have multiple types. When converting to shapefiles, is it possible to to tell ogr2ogr to create multiple ...
4
votes
1answer
226 views

ArcGIS 10 Time series to kml

Hey all I am having trouble with the KML export. My time series will not work properly in google earth, it has time start in 0001 when it should start in the year 2001. My incidents time is coded ...
1
vote
1answer
2k views

adding kml to google maps

I am trying to overlay the KML file over google maps and want to know where I can host the kml file which I will then be able to add to the google maps. I tried using google drive and dropbox but they ...
1
vote
1answer
306 views

How can the scale be projected correctly in Quantum GIS when it is imported from google earth (KML) files?

While importing KML files from google Earth to Quantum GIS, the scale is not being projected properly and the area of a particular selected feature is not being calculated in the attribute table by ...
2
votes
1answer
269 views

only 1 tile visible in GE after gdal_translate -of KMLSUPEROVERLAY

I have a 3-band ASTER scene in any of several formats (PCIDISK, GeoTIFF, Imagine), already reprojected to the geographic coordinate system. I can view and manipulate the scene successfully in PCI ...
1
vote
0answers
128 views

KML files no longer showing data for point location - shows placement pin

We do gps-based point soil sampling and have software designed for that. Our software allows us to export a KML file that has all the attributes of the soil samples on it. They pop up and show all ...
1
vote
2answers
1k views

OGR DXF to KML conversion

I'm trying to convert a DXF 2010 file to KML using ogr2ogr: ogr2ogr -f "KML" outfile.kml infile.dxf In the file, $INSUNITS is 6, that's meters, if I'm correct? The problem is that DXF is not ...
2
votes
0answers
59 views

Batch Convert MapInfo .TAB Files to .KML [duplicate]

Possible Duplicate: ogr2ogr convert all shapefiles in a directory As the title suggests, i have a few hundred .TAB files to convert to .KML. This is likely to be a fairly irregular thing ...
2
votes
0answers
777 views

OSGB36 to WGS84 reprojection 'error'

First off, I am a recent convert to QGIS and am greatly impressed with its ease of use and speed compared with the ESRI products with which I am more familiar - my congratulations and thanks to its ...
0
votes
0answers
69 views

GIS web development [duplicate]

Possible Duplicate: Steps to Start Web Mapping I want to create a Web GIS using an open source software.Also the software should be capable of importing shape files and kml.I have good ...
2
votes
1answer
75 views

Can a KML Document use a URI as an ID?

Google's KML reference only states that a Document's ID attribute must be unique. Are there any other restrictions on the content used as an ID? Specifically, is there any reason a URI would be an ...
2
votes
1answer
3k views

KML PHP parser to INSERT into database

So I have a KML file which has attribute data(Inside the tag with about 12 data points). This file was generated on ArcGIS. I'm trying to write a PHP script to parse this KML file and insert the ...
7
votes
1answer
3k views

Output polygon data from postGIS and read it on Google Maps API

So, I have a group of polygons stored in PostGIS. I'm trying to build a web application with Google Base maps (using Google Maps API). Now, How do i output the polygons in the right format so that ...
3
votes
4answers
6k views

How can I import georeferenced photos (jpg, kml, kmz) using QGIS or ArcGIS for Desktop?

I've got several georeferenced digital photos as jpg, kml, and kmz. How can I import them into my GIS projects (QGIS or ArcGIS for Desktop) so I can open them as a popup?
5
votes
2answers
901 views

Loading data onto PostGIS using KML files with attibute data

So, I have a kml file which contains 317 data points (317 polygons and the respective 317 names). The kml file also contains attribute data which pops up in a bubble on Google earth with about 12 ...
5
votes
2answers
1k views

How do I export a 3GB ArcGIS Raster to KML w/o losing resolution?

I have a 3GB raster layer, and I'd like to export it to KML for use with Google Earth. When I use the "Layer to KML" conversion tool in ArcMap, I end up with a low-resolution overlay: looks like one ...
4
votes
2answers
977 views

Convert KML to shapefile without losing attribute data

So I want to convert KML files to SHP shapefiles to load it onto PostGIS. Currently I'm using ogr2ogr to do the conversion for me, but it wipes out all the attribute data. How do i preserve this ...
1
vote
1answer
705 views

When I import polygon kml layer, how do I change projection and offset to correct for GMT wrap?

I created a polygon in Google Earth and saved to kml. After importing as a vector layer, where the polygon crosses the prime meridian, the polygon wraps around the world. So far, I have figured out ...
2
votes
0answers
252 views

How to programatically add KML Icons to Placemark generated from SimpleFeatures using GeoTools?

I have successfully generated a set of (unstyled) placemarks in a KML file using the GeoTools framework, and the Encoder class. The file renders fine in Google Earth with standard balloon placemarks. ...
1
vote
0answers
445 views

Serving GroundOverlay image data from a KML file via WMS

I've got a KML file with a collection of sparsely distributed (and small) GroundOverlays, with each overlay containing a distinct LatLonQuad and Icon. I would like to serve the this image data via a ...
0
votes
1answer
1k views

KML with text AND polygon

I'm working on applying some KML files to a google map on a mobile device, and have really been impressed with how easy everything is (so long as you stay inside the norm). I have run into some ...
1
vote
0answers
253 views

Live KML Feeds - From the Ground Up, How Would You Build It and Why?

I found the "Live KML from PostGIS to Google Earth" post very informative but a bit daunting for someone new to the open source world of products like PostGIS and GeoServer. If I am building the ...
1
vote
2answers
628 views

Problem loading KMZ in Google Earth API

I am building a Google Earth API application using a map service (using ArcGIS Server 10) that has KMZ/KML capabilities. For some reason, I am able to access the KMZ layer within our network. But, ...
6
votes
2answers
2k views

Why can't I edit KML/GML layers?

Newbie here confused by my first experience in QGIS I have a handful of lines defining a bike route. Originally they were saved in a .gml file and later translated into .kml so they could be viewed ...
3
votes
0answers
468 views

How to export multiple Shapefiles to one KML file in QGIS?

As the title says, is it possible to export multiple Shapefiles to one single KML in Quantum GIS (Similar to "Map to KML" in ArcMAP)?