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
2answers
341 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
397 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 ...
1
vote
0answers
149 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
87 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
143 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
188 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
168 views

layer to KML conversion

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
231 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 ...
0
votes
0answers
63 views

How can I display remotely the Panoramio's KML layers

I'm trying to display in my web portal the Panoramio's kml layer. The above code developen in OpenLayers is what I'm doing: mapa = new OpenLayers.Layer.Vector("Panoramio Photos", { projection: ...
3
votes
1answer
253 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
1k 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
112 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 ...
7
votes
5answers
419 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 ...
0
votes
0answers
213 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
282 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
184 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 ...
3
votes
4answers
539 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
168 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
184 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
120 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
81 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
235 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 ...
1
vote
1answer
347 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 ...
2
votes
1answer
227 views

KML from PostGIS Geometry into Openlayers

im getting the KML value from my postgis database.. st_askml() And the output is like this: ...
4
votes
1answer
189 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
149 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
124 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
329 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
65 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 ...
0
votes
0answers
179 views

Linking an MS Access OLE Object to a KML with VBA

I have a VBA script that creates a blank KML and writes to it, pulling from query fields to populate the description/pop-up bubble, and the place marks (from a coordinates field in the Access DB). ...
1
vote
1answer
144 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", ...
6
votes
0answers
118 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
308 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
144 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
139 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 ...
0
votes
0answers
82 views

Creating and opening KML with Google Maps

I want to prepare a 3D map using Google-Earth plugin or Google Maps. I want to add only one layer to what Google provides. I've tried to prepare KML file using tutorial from the Google Website ...
3
votes
2answers
378 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
120 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
97 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
631 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 ...
0
votes
0answers
49 views

Refreshing a KML Superoverlay

I am testing a Geoserver/PostGIS/KML stack and am having trouble getting the superoverlay to regionate correctly as a superoverlay. Specifically, once the database is updated with new features the ...
2
votes
1answer
128 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
190 views

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

I'm loading 3 KMLs using 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 ) Marine ...
0
votes
0answers
23 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 ...
2
votes
3answers
739 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
183 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
128 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
568 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 ...
2
votes
3answers
3k 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 ...
3
votes
1answer
379 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 ...