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

learn more… | top users | synonyms

6
votes
3answers
971 views

How to convert factfinder2.census.gov map data to KML?

I've downloaded a map from http://factfinder2.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=DEC_10_SF1_P1 (limited to San Francisco census tracts), and I'd like to convert it to KML ...
4
votes
3answers
2k views

Export georeferenced image overlay from KML?

How might one export image(s) from image overlays in a KML file to a standard geo-referenced raster format like geotiff? Use case: NASA's Earth Observatory has a time series of the changing Athabasca ...
0
votes
1answer
806 views

How to highlight track in KML on hover with OpenLayers

I have KML layer with multiple tracks and I would like to highlight them individually on mouse hover. I tried to implement this like in the example found in OpenLayers examples, but couldn't get it ...
3
votes
1answer
2k views

OpenLayers.Format.KML write style

I would like to apply a style to the KML that gets generated from the write() operation of OpenLayers.Format.KML. The current style that is on the vector layer does not get exported with this code: ...
1
vote
1answer
184 views

Which map projection maps y=m1*lat+b1, x=m2*long+b2?

I'm looking for a map of the US in this simple format. Then I can calibrate the simple mapping and do a report for our business by making a dynamic SVG file that places markers on that map. Right now ...
4
votes
1answer
1k views

Does OpenLayers supports KML Ground Overlays?

I am not able to display Ground Overlays in a KML file with OpenLayers. Does OpenLayers supports KML Ground Overlays? If not, how would I proceed in writing my own code or plugin for OpenLayers so ...
1
vote
1answer
561 views

KML to Dat Converter?

Are there any free KML to DAT(destinator compatible) converter available ? I tried to use global mapper but was in vain. Also used ITN converter but the line was converted to points.
6
votes
3answers
2k views

.NET library to convert KML to WKT?

Anyone know of a free OpenSource .NET library i could use to convert KML to WKT? I know i can use openlayers and there are many JavaScript possibilities, but i need to do this on the back-end.
3
votes
1answer
918 views

Why is Openlayers KML-layer undefined when using permalink

I am working on Openlayers to dynamically load KML tracks on map. I want it to load filtered KML everytime map is moved or zoomed based on viewport and zoom level. I got it working with code below, ...
1
vote
0answers
706 views

Generate Two Triangles on KML file with PHP/MySQL

I am currently generating a KML file dynamically from PHP and Mysql. One latitude / longitude point is being passed to the script. What I want to do now is create two triangle polygons from this point ...
4
votes
1answer
1k views

How to batch export layers to KML in ArcMap?

Is there a way to batch export layers to KML from ArcMap (ArcGIS Desktop) by altering the layer to KML tool to have more than one layer input?
0
votes
2answers
588 views

How to force ArcGIS server to create KML?

Attempting to serve arcgis server (AGS) 10 sde data to Google Earth (GE). I don't have any problem opening the service or the network link in GE on my desktop. When I try to open in ipad device ...
3
votes
2answers
330 views

Sort feature type order in FME KMZ writer

I have 4 feature types I am writing to a single kmz file using FME. Currently, these feature types are written as folders in the kmz file and appear in alphabetical order. Is there any way to sort ...
3
votes
1answer
1k views

Map Grid Index / Reference for Canadian Topo Map

Does anyone know where I can find some kml at different resolutions to show the grid reference for the Canadian topographic maps (CanTopo and toporama). Much like is displayed on the map here: ...
0
votes
2answers
2k views

Shapefiles for real world places [duplicate]

Possible Duplicate: Are there any free administrative boundaries available as shapefiles? This is a follow up to my previous question How to highlight the area in google map on mouse hover. ...
5
votes
3answers
3k views

What restrictions on KML/KMZ upload exist in Google Maps API v3?

I am currently using the google maps api v3 to load kml files into my web application. The file I am having trouble with is a KML which is 274 KB big. It will not load (uncompressed the file is ...
5
votes
1answer
780 views

How to create a balloon for a dynamic KML file?

I want to create a balloon for a KML file that dynamically moves. The example that I am working on is sundials.html. Let's say that the KML is moving. How we would get the balloon to move as well? ...
9
votes
2answers
1k 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 ...
9
votes
5answers
6k 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
679 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
6k 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
171 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
4k 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
181 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
127 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
283 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
2k 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
3k 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
786 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
588 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
1k 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 ...
20
votes
6answers
16k 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
130 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
4k 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
213 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
3answers
869 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 ...
8
votes
5answers
3k 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 ...
11
votes
2answers
28k 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 ...
8
votes
3answers
11k 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
641 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 ...
5
votes
0answers
1k 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 ...
2
votes
3answers
503 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
769 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
1k 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
276 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
539 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
1k 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 ...