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

learn more… | top users | synonyms

8
votes
2answers
873 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 ...
8
votes
4answers
5k views

Does Bing Maps 7 support KML?

I'm having no luck finding examples. I've found code like that below but this is for earlier versions. shapeLayer = new VEShapeLayer(); shapeSpec = new ...
3
votes
2answers
2k views

How to label a dynamic KML file in OpenLayers?

How can I display labels for features in a KML file on an OpenLayers map. I was thinking of using popup messages, but labels are more attractive and eye-catching. I want to replicate the labeling ...
2
votes
1answer
502 views

Rendering 3D timezones KML on a 2D map

I'm trying to render a KML layer (with timezones) in Google Maps API v3. The KML layer works fine in 3D (in Google Earth), but when I render it in 2D, the timezone lines that meet at the North Pole ...
3
votes
3answers
5k views

How to dynamically update a KML layer in OpenLayers 2.10?

Arguably, this is a easy question for you guys GIS expert. Here is the question, how to outsource a dynamic KML file using JavaScript in OpenLayers. I want to refresh every 7 seconds. Below are ...
0
votes
0answers
161 views

KMZ Quality: Desktop vs Plugin

Is there a reason why the quality of KMZ images, when added to a website using the Google Earth Plugin, drop in quality (it appears blurry) compared to when the same KMZ is seen through Google Earth ...
1
vote
1answer
2k views

How to 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? I would like the user to be able to log in and see Google Maps, then plot points on ...
0
votes
1answer
2k views

Feature geometry attributes to KML

I'm using the OpenLayers.Format.KML class to export the features in MyLayer to KML. However my features have attributes attached to the geometry object i would also like to have exported to the KML ...
2
votes
2answers
176 views

Stacked point representation in KMLs

I cross posted this in the Google Earth forum but they changed the format there and I'm not sure I like the format. In my dataset I sometimes have multiple locations at a single point. GE will ...
2
votes
1answer
112 views

Is it possible to cancel a request for a KmlLayer, and load a different layer, before it is actually visible

Having asked for a google.maps.KmlLayer, and whilst waiting for it to load, is it possible to cancel the request? Calling layer.setMap(null); seems to causes an error if the layer is not yet visible. ...
5
votes
1answer
2k views

Is there an event fired when a kml layer has finished loading in google maps?

Is there an event fired when a kml layer has finished loading in google maps? Google maps api version 3 To add a layer I have code like: var layer = new google.maps.KmlLayer(layerUrl, { map: map, ...
0
votes
1answer
225 views

How to use the transformer KMLRegionSetter ? (Python/FME)

I use Python and FME. I would like to use a transformer "KMLRegionSetter_2" for KML file. I use a fmi file for the transformation. reader=FMEReader("OGCKML",{'USER_PIPELINE':"C:\\arcfactory.fmi"}) ...
2
votes
3answers
1k views

Read KML file with GDAL/OGR for Python

I have file : test.kml and I try to open it with GDAL/OGR (1.6) librairie in Python (2.5). But I don't succed can you help me ? This is my code : from osgeo import ogr adresse = 'test.kml' ...
6
votes
3answers
2k views

Connecting markers by following the roads in Google Maps

I have many markers in a kml file. All the markers are on the roads. I wonder if there is a way to process the data and connect the markers by following the road? Of course, the markers should not be ...
2
votes
1answer
566 views

Complexity restrictions for Google Maps kml

What is meant by "Maximum number of total document-wide features = 1000"? http://code.google.com/apis/kml/documentation/mapsSupport.html What is a feature in this regard?
1
vote
2answers
402 views

Are there sources for obtaining pre-made KML data from Google?

I have been asked to investigate methods for obtaining KML files. All I know so far is that it is a format based on XML that Google uses to format their maps (or the metadata). However, are there ...
3
votes
1answer
724 views

Keeping attribute data when exporting KML to feature class

I am working on updating kml files into an mxd. I am able to use the conversion tool to change each KML to a layer file, but I am unable to keep the original kml attribute data. When I export point ...
19
votes
6answers
8k views

What's next if our KML is too big/complex for the Google Maps API?

Our web app includes simple mapping capabilities (currently just markers and KML overlays on an embedded Google Map). This works pretty well; the only real limitation we face is KML overlays that go ...
3
votes
0answers
119 views

How do I set relative paths for KMZs?

This is an Arc2Earth question - I'm converting a large vector dataset to a KML with regions. The resulting kmz works great on my computer but the files paths are all actual paths and not relative, so ...
7
votes
3answers
3k views

Is it possible to export dynamic labels from ArcMap to KMZ? (Or alternate approach)

I am preparing increasingly more maps and layers for export to KML/KMZ as it seems to be the most convenient way to quickly analyze spatial data by my superiors. In order to export labels I seem to ...
4
votes
1answer
203 views

adding commas to number values in arc2earth generated kml balloons

I'm using Info Window Builder in Arc2Earth to generate some kml for a large dataset. I'm having some trouble formatting numeric values (pulled from the attribute table) to include commas (group ...
6
votes
2answers
704 views

Google Earth Enterprise & ArcGIS - How do you use them together?

I have been fielded a few questions about Google Earth Enterprise--which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be summed up ...
7
votes
5answers
2k views

Is there a way to view KML natively in ArcMap?

Answering this question: How do I import/export KML to ArcGIS Desktop? raised another one. There are loads of tools to import/export kml/kmz. Are there tools available for native viewing of KML in ...
10
votes
2answers
21k views

How do I import/export KML to ArcGIS Desktop?

I have come across several scripts and tools to import and export KML into ArcGIS Desktop. Is there a one tool that: Imports/Exports KML into ArcGIS Desktop at v10 Does not cost money ...
7
votes
3answers
7k views

converting kml into a vector graphic… and back

Is there a simple means to convert, say, an svg or other vector image format file to KML and vise versa? There are incredibly powerful vector editing tools which attempt to replicate the way reality ...
3
votes
1answer
477 views

labeling roads / routes in KML [closed]

According to this post in 2008 and others (older), there is no KML way to leverage the "labels to path" algorithms that Google Earth / Maps uses to put road names on the roads themselves. Is this ...
4
votes
0answers
775 views

How to split kml file or extract Placemarks?

I have a file of state 2001 assembly districts outlines, from http://goo.gl/dJPyx in Mapinfo MIF format. I've created a kml file from that using ogr2ogr. These are the outlines of each assembly ...
1
vote
3answers
369 views

protecting kml access to google only

I have a large amount of data (thousands of polygons) that I want to share with people through my site. I want them to be able to view the polygons, and due to the large amount of data, I am not ...
4
votes
2answers
645 views

Has anyone use Network Links updates successfully with ArcGIS Explorer?

I've been trying to do updates of kml through a network link without success. Here is an example from the KML 2.1 tutorial. Load the following file (Point-load.kml) into AGX: <?xml version="1.0" ...
5
votes
1answer
812 views

How to mix polygon extrusion and different altitude modes in KML?

I want to create boxes by simply extruding polygons but with special "floors". I've been able to find several existing solutions for the extrusion problem. The remaining problem is that the "floor" of ...
4
votes
2answers
261 views

Is there a way to distinguish data precision in KML?

Here's my problem (and I was inspired to ask this from this question)... I create a KML file recording where upcoming training courses will be for the next year. The cities might be Atlanta, Calgary, ...
2
votes
1answer
436 views

kml network link styling

I have a kml network link (parent) that loads a second kml file (child) that contains a set of polygons. Currently the style of the polygons is set to a url within the child kml file. I would like ...
2
votes
1answer
960 views

Google Earth land features importing to ArcMAP

I'm wanting to import land features, such as lakes, reservoirs and other land-made features onto my ArcMAP. Is that possible as this is new with my client wanting this done. What needs to be done as ...
2
votes
3answers
5k views

Opacity control for KmlLayer in Google Maps V3 API?

Using a KmlLayer object within the Google Maps API, is it possible to control the opacity of a KML's image overlay features ?
2
votes
2answers
1k views

Can Google Earth App for the iPad specify a KML using a URL without dealing with Google MyMaps?

Can Google Earth App for the iPad specify a KML using a URL without having to go through with one's Google My Maps Account?
4
votes
3answers
832 views

Google Maps with Tiled Image

I'm trying to get a weather image to display on Google Maps, however in my comparisons to others it seems as if my image is slightly to small (Vertically).. I'm wondering what I might have done wrong ...
5
votes
2answers
4k views

How to parse KML data using geotools?

Geotools contains some packages dealing with KML: org.geotools.kml and org.geotools.kml.bindings. I assume it was designed to parse KML data. Do you know how to use it?
5
votes
3answers
770 views

Plot a EPSG:4326 KML File using Google Maps V3

I have a KML file that uses EPSG:4326. Is there any way to plot this onto a Google Map (v3) which uses Mercator? Here is the page I am working on The district data comes from one source and is ...
3
votes
1answer
524 views

ARCGis LayerToKML Skips Feature Layers and Doesn't Process Layers in Group Layers

I am using ARCGis desktop and have written a quick conversion program to convert my layers to kml but I ran into some issues. It seems the only layers it can process correctly are group layers. ...
7
votes
4answers
5k views

Plotting KML files onto a Google Map

I would like to show a map on my website. I have 2 different kinds of KML files that need to be plotted. One defines region boundaries. The other points within those boundaries. The region boundaries ...
6
votes
2answers
2k views

Generate a kml file from Google results

Is it possible to generate a kml file of searched items in Google Maps. For example: Search for highschools in Virginia Return the results as a kml file with the schoolname address and location
8
votes
1answer
1k views

How do I create an animation in google earth using png overlays with kml timestamps?

I have the following kml files, each with a different timestamp and png: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" ...
3
votes
2answers
4k views

KML (KMZ) generated from ArcGIS 10 open in Google Earth but fail to import into SketchUp 8

So i finally figured out how to import TIN surfaces from ArcGIS 10 into SketchUp 8. To fully replicate the functionality of the legacy ArcGIS SketchUp 6 Extension I would also like to be able to ...
2
votes
2answers
666 views

Any python script to convert a geoPDF to a KML embedded with a jpg link?

I have many geoPDFs. I want to turn them into KMZ or KML+JPEG using a python script. Any suggestions? SEE CODE BELOW
5
votes
4answers
4k views

Google maps kml and polygon eventclick error

I have a google map polygon kml file that I am loading on a google map. When I click on the polygon, I draw a line from that polygon to places on the map. To do this I am using the code: //Add KML ...
5
votes
3answers
1k views

“File not found at…” error when loading KML into Google Maps

I have a KML file on a public URL like http://host.com/dir/file.kml If I put that KML file on another server, and put the new URL in the search box on Google Maps, it loads the KML into google maps. ...
2
votes
3answers
2k views

Render vectors from OSM data in POSTGIS database

I'm a newbie when it comes to mapping application. I had successfully loaded my OpenstreetMap data in a Postgresql/PostGIS database. Now my problem is how to render the vector data (the POI's, ways, ...
1
vote
2answers
3k views

How can I convert Shapefiles (SHP) to KML? [duplicate]

Possible Duplicate: How can I convert KML to ESRI’s shapefile format? I have SHP files, I want KML files, what tools can convert?
3
votes
4answers
3k views

Live KML from PostGIS to Google Earth

I was wondering if anyone knew a way to bring data from a postGIS database into Google earth to view live. I know of the asKml function in PostGIS, but I'm interested to know if anyone had managed ...
18
votes
6answers
49k views

Display a local file in Google Maps

How can I get a KML/KMZ file to display on Google Maps without a public facing web server?