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

learn more… | top users | synonyms

1
vote
0answers
370 views

ESRI JavaScript API - Multiple KML Layers - Internal KML Parser Error

I am building a webmap with the ESRI Javascript API. I am trying to add several KML layers, as well as a Legend Toggle and am repeatedly getting "Internal KML Parser Error" and only some of my layers ...
0
votes
1answer
333 views

Import KML attributes into the correct schema

I have a kml file containing over 4000 polygons with attributes which must be retained (in 3 different fields). After using the standard KML to Layer tool, all the attributes are now in one PopupInfo ...
1
vote
2answers
372 views

Can I download a layer displayed on the google api?

Given the google api displaying a map on some site with layer 'A' on top of it. How can I create a GIS file for layer A (as simply as possible of course)?
7
votes
2answers
1k views

Converting KML files for use with Python library Shapely

I am trying to get a KML-file (wijken.kml) into Shapely. The KML-file is validated against the proper XML schema, so I guess the input is correct. Routes I have tried: 1) Converting to WKT or WKB ...
1
vote
1answer
78 views

Transfer USGS overlays to Google Earth?

How to transfer aerial archives from USGS earth explorer onto GoogleEarth?
1
vote
1answer
320 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
903 views

How to make editable polygons in Google Maps?

I've just recently started learning Google maps, JavaScript, etc., and have a few questions about a project that I'd like to do. I'm wanting to take some ESRI shapefiles, convert them to KML, and then ...
1
vote
2answers
1k views

ArcGIS API for Silverlight - create MapTips programmatically for programmatically-created KML layer

The few examples and forum posts that I have found all use KML layers defined in XAML at design-time with nested MapTip templates binding to one or more Placemark attributes e.g. name or ExtendedData ...
2
votes
0answers
492 views

Geotools, output to kml and convert meters

I have a complex problem. I'm using geotools 10.* I have input data: latitude, longitude (WGS_84), radius in meters, start angle (12 o'clock), end angle (clockwise, i.e. turn to the right). I need ...
1
vote
1answer
116 views

How to view the whole KML

When I load a KML in Google maps, it doesn't show all polygons, instead there are Google "next-previous" pages, each containing parts of the KML. How can I view all the information in one page? ...
6
votes
1answer
214 views

GIS storage format for better performance - Android device

We have developed an android application which loads different eco-zones and does geo-fencing based on current GPS location. We have converted a shapefile to KML, then to JSON format, for loading in ...
4
votes
1answer
304 views

Export KML to SHP in Javascript

I need my Javascript browser application to convert/export KML documents into ESRI shapefiles. Is there any JS library that can do it? I tried googling, but no answers so far (at least, not in ...
-1
votes
1answer
558 views

layer to KML conversion [closed]

I am using arcgis 10.1 and my concern is to convert a layer to KML. The size of the layer that I would like to convert is of 7KB. For some reason it is being converted all the time with errors. Any ...
5
votes
4answers
928 views

draw shp files or kml files on ipad?

I need to be able to draw a polygon in the field while the landowner is there to approve it. Is there an app that is easy to use so all of the field hands can operate it? I also need to be able to ...
3
votes
1answer
1k views

Any tools to convert GTFS (General Transit Feed Specification) in SHP / KML?

I need to convert GTFS (General Transit Feed Specification https://developers.google.com/transit/gtfs/reference), data in some GIS data format like ESRI Shapefile or KML or something else. Do you know ...
2
votes
2answers
7k views

Converting .kml file to .tab (Map info) format

If I have saved polygons as a (.kml) Google Earth File and I want to draw it in MapInfo, is there a tool to do this ? If not, how can be it be made using MapBasic?
1
vote
1answer
338 views

Why ignores Google Earth the gx:altitudeOffset in KML files?

I am currently writing software that creates 3D polylines and outputs these in KML format. According to the official documentation it is possible to define an altitude offset via gx:altitudeOffset to ...
9
votes
5answers
2k views

GML, KML, GeoJSON - Speed rendering 3109 polygons?

I am working with Geoserver, serving U.S. Lower 48 counties to openlayers (3109 polygons - lots more vertices). The counties are loaded into a postgis database. I am curious about developer ...
1
vote
0answers
1k views

Is there a way for me to load a KML files locally in Openlayers

Recently I posted this question KML file seems to load in Openlayers without error but doesn't show vectors because I was having trouble getting KML vector data to show up. After searching around ...
1
vote
3answers
516 views

How to create one KML per polygon (from one Shapefile)?

I have a shapefile containing hundreds of polygons. I need to create a kml of each of the polygon. Is there any way that I may not have to deal each polygon individually and my polygon file may give ...
0
votes
1answer
400 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 ...
5
votes
5answers
5k views

How to Embed KML files (Google Earth) into a website without the google gadget?

I am trying to embed a KML file onto our webpage and the way it was previously done, using the KML embedding tool from Google no longer works, it seems that google has taken the gadget down or ...
2
votes
1answer
523 views

How to use arcpy.mapping to batch export layer to KML?

I am trying to export map layers from an MXD to KML using arcpy with the following code: import arcpy, os, sys, traceback arcpy.env.overwriteOutput = True mxd = ...
3
votes
0answers
657 views

How to Export a Shapefile as KML Using R

All, I have exported an ESRI shapefile (polygon) to KML using R, but the resulting layer shows only the outer extent of the polygon. How can I fill in the area with a color? Any help is greatly ...
1
vote
2answers
255 views

Select KML feature with specific attribute

Im using Openlayers, and importing polygon data to the map with KML files. How could i select the feature which has the attribute name="TEST" ? KML def: <Placemark> ...
3
votes
1answer
199 views

How can I get KML into JTS TestBuilder?

JTS Topology Suite TestBuilder supports WKT, WKB and GML inputs. What's a quick and easy way to get the geometry for a KML feature into one of these formats for input into JTS TestBuilder? For ...
3
votes
3answers
775 views

Load and display a large number of points using openlayers

I am using OpenLayers.Layer.Vector to load and display KML files. Some of the KML files have a large number of points in them (lets say around 20,000). I am surprised they load at all (in chrome), but ...
2
votes
1answer
1k views

Openlayers KML Layer Styling

I am trying to change styling of Overlay KML layer in Openlayers, but I am not able to do so. here is my code: <!DOCTYPE html> <html> <head> <title>OpenLayers KML as Base ...
3
votes
2answers
706 views

KML from PostGIS Geometry into Openlayers

im getting the KML value from my postgis database.. st_askml() And the output is like this: ...
5
votes
1answer
1k views

How to get labels to diplay in Google Earth after saving to KML?

When saving a QGIS layer as kml, is it possible to have labels be displayed when opened in Google Earth?
3
votes
1answer
645 views

How to keep layer style/symbology when saving as KML?

When saving as a kml, is it possible to keep the style of the QGIS layer? I have tried a couple plugins that have been mentioned on here: qgis2kml ('format not yet supported') and qgis2google2 ...
2
votes
2answers
292 views

Using OpenLayers how can I Extract some information relative to the whole KML file?

I am creating a KML layer like this: new OpenLayers.Layer.Vector("KML", { projection: myDisplayProjection, strategies: [new OpenLayers.Strategy.Fixed()], ...
2
votes
2answers
1k views

KML from EPSG:4326 to EPSG:900913

im trying to create KML files manually (XML format) by extracting data from a postGIS database with "geography" values in a column. But i belive i need to transform the projection of each row in the ...
2
votes
1answer
119 views

erratic behavior in google maps kml

I have created a kml file with around 300 place markers. When I try to display the kml by typing the address in the maps search bar, the map seems to behave erratically: - If I click on the marker ...
1
vote
1answer
260 views

How to Add a KML from My Google Maps to OpenLayers?

I would like to add this kml-link from Google Maps to an OpenLayers instance. The following code is not working: var layer = new OpenLayers.Layer.GML("KML", ...
9
votes
4answers
326 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 ...
1
vote
2answers
1k views

How to highlight kml features in openlayers

I'm trying to make the features from a kml layer highlight on hover, but it doesn't seem to work for me. On the other hand, if i create a vector layer with a polygon feature it works just fine. I made ...
2
votes
2answers
297 views

How to improve the precision of KML files on Google Maps?

I am adding kml file to the google maps (api v3). Now the problem is that on google earth and google maps the accuracy of my kml decreases to kilometers. I am designing constituency boundaries and i ...
4
votes
2answers
190 views

Exporting to KML

I'm attempting to export a series of points that cover the continental U.S. as well as some of it's territories to KML. When I export to KML and open it in Google Earth, the data loads in, what seems ...
3
votes
2answers
850 views

How to convert ESRI SHP to KML with correct coordinate system?

I am working on this SHP file, containing geographical district of Hong Kong. I would like to export this to KML and export it to Google Map for overlay. After I converted it to KML in QGIS (just ...
3
votes
2answers
162 views

My KMZ works for older versions of GE, but not the newer ones

I have a KMZ file which is a time animation. It used to work in the older GE, such as version 5 (I think). I can load the KMZ file in the newer GE, but do not see the animation control bar to play it. ...
3
votes
2answers
170 views

Need advise on map site design (When to wms/kml)

I'm building a web system from scratch (based on openlayers). All layers in map will be my own (raster and vectors). I want to show polygons/points on map and when user click on them he gets info or ...
1
vote
3answers
4k views

How upload KML from your local disk using Google Maps API?

I am trying to get load my KML from my local disk with given below code : <script type="text/javascript"> function initialize() { var mapOptions = { center: new ...
2
votes
1answer
376 views

How do I export neighbourhoods in wikimapia to KML file [duplicate]

Possible Duplicate: How do I export from Wikimapia to KML I am trying to export the neighbourhoods in Wikimapia to KML format. Is this possible? These are all the predefined neighbourhoods ...
2
votes
1answer
448 views

Openlayes - Loading 3 different KMLs via proxy; one appears and the others don't

I'm loading 3 KMLs using an ashx handler taken from http://code.google.com/p/iisproxy. The 3 KMLs I'm trying to load are Openlayers sundials ( http://openlayers.org/dev/examples/kml/sundials.kml ), ...
0
votes
0answers
28 views

How can I add KML to OpenLayers from remote server [duplicate]

Possible Duplicate: Problems adding KML layer in OpenLayers I'm trying to add the following KML to my Openlayers project: http://www.marinetraffic.com/ais/ge_marinetraffic.kml using this ...
9
votes
4answers
13k views

Can I convert a kmz file to kml?

I have a kmz file. Is there an easy way to convert it to KML? Can I just "unzip"?
2
votes
2answers
386 views

Problems aligning layers digitized from Google earth into ArcMaps10

I'm a PhD student new to ArcGIS. I'm digitizing features from Google Earth to use in ArcGIS (I work in India, where the mapping in GIS is at best scanty). I drew along a river in Google Earth, saved ...
6
votes
0answers
148 views

KML (KMZ) to layer including all attributes [duplicate]

Possible Duplicate: How to convert KML to shapefile without losing attributes? This question is here in many variations but though I went through it I still don't have any good solution how ...
3
votes
1answer
2k views

How to export shp to kml?

I already browsed your FAQs, and could not come up with a good answer, I am trying to export shp files to kml to be placed on Google Earth. On a previous version of QGIS it was as simple as right ...