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

learn more… | top users | synonyms

-1
votes
1answer
722 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
1k 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
3answers
2k 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
11k 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
405 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
3k 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
589 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
469 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
7k 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
654 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 = ...
4
votes
0answers
998 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
320 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
229 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
932 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
2k 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
845 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
2k 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
897 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
414 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
137 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
302 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
377 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
360 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
219 views

Exporting to KML from ArcGIS for Desktop?

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
1k 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
172 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
187 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
5k 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
475 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
540 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
29 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 ...
15
votes
5answers
27k 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
493 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
160 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 ...
3
votes
3answers
8k views

Editing a KML file or converting KML to Editable format with attributes

I'm using QGIS. I'm trying to either edit a .kml file someone else created in Google Earth or convert it to another editable format (like a .shp file). I've read the following threads without really ...
4
votes
1answer
958 views

Using PHP and JavaScript to dynamically create shapefile or KML

While I have used GIS software (ArcGIS and just started playing with QGIS at home), I have never looked into the code or file structure of shapefiles. I am working on a project for my work, a ...
3
votes
1answer
2k views

UK region overlay on map

I'm hoping to overlay UK regions (East Midlands, Wales, London etc) on a Google Map. Ideally the regions could be coloured, opaque and have some form of label. There is no hover / interaction ...
4
votes
1answer
919 views

How to create a 500m Regular Grid for KML input area?

I am hoping to create a point grid over the city of Edmonton. My workflow is: Import a KML of Edmonton neighborhoods from here Save the layer as a SHP Delete the layer and load the SHP Define the ...
1
vote
0answers
131 views

Google earth incorrectly rendering coordinates?

My circles are rendering funky on the poles, and along the equator. Here are my coordinates: 158.05553767833,-78.151355482613 152.68654993135,-76.924955252783 147.72303124605,-75.713526831152 ...
1
vote
0answers
230 views

Given two lat/long/time points I need to extrapolate an entire path along the earth

Given two points and the times between them, I'd like to draw a line around the earth. Everything I've tried led to some crazy lines, due to my inexperience with longitudinal movements. Here is the ...
5
votes
1answer
2k views

Importing KML in QGIS - what are all the node elements that QGIS looks for other than Name and Description?

Of all elements given at (ref: http://service.kmlvalidator.com/ets/ogc-kml/2.2/) only Name and Description seem to be recognized on importing KML using QGIS 1.8.0-Lisboa. I would like to know if this ...
3
votes
2answers
864 views

OpenLayers 2.12 + KML from String + Change markers'icons

Reading this post How to add KML data but from variable - not from url? I changed the way of reading KML files (from HTTP to a string loaded using jQuery) /** * The OpenLayers object * @type ...
1
vote
0answers
111 views

I've converted a kml to shp and want to import it to pgsql database, but no geometry column [closed]

As the title explains, I have a shapefile whose attribute table has no geometry column specifying the location of points. Rendered in QGIS, it looks fine, so the geometry data is obviously there. ...
15
votes
9answers
19k views

How to convert KML to shapefile without losing attributes?

I'm new to QGIS and all geoinformation itself but have to work on some difficult stuff. I have a KML file with hundreds of points. To each point there is information, such as Name, Power, Age (it's a ...
2
votes
2answers
5k views

How do I overlay a KML on leaflet 0.4.4

I am using Leaflet 0.4.4, I have a KML I would like to overlay on the map, how do I go about doing this? Edit: I am already aware of https://github.com/CloudMade/Leaflet/issues/14, which directs ...
2
votes
2answers
830 views

Openlayers - how can I parse a KML file

I have found some info on here regarding opening a KML file (with groundoverlay) from a url in Openlayers. In order to open a KML with groundoverlay, it must first be parsed. However, after I GET, I ...