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

learn more… | top users | synonyms

3
votes
1answer
23 views

Convert KML to an Attribute table

So I was wondering if it's possible to convert the KML files to an CSV attribute table (of those geometric features). So I've found this code that converts the KML to CSV, but really just prints the ...
1
vote
2answers
300 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
1
vote
1answer
105 views

How to draw an arc by centerpoint, radius and azimuth in KML

The question is how to generate lon/lat coordinates for an arc/sector. Coordinates can be used/filled into a KML file. Pointers to geometric formula or a program applying the formula are much ...
3
votes
2answers
61 views

KML, OpenLayers: attribute imported as string rather than number

I apologize for what is, I'm sure, a very village-idiot question, but I think my question is simply too dumb for the answers I've found on this subject. I've used QGIS to save a shapefile (.shp) file ...
1
vote
1answer
37 views

Excel Macro to KML using VBA Loop

I am trying to write a VBA loop which will turn a list of addresses and their corresponding Lat Long coordinates in to a KML file for viewing in Google Earth. I have managed to get the opening and ...
1
vote
0answers
14 views

Loading KML WMS Network Link through Google Earth API

I'm trying to add a KML network link with the Google Earth API using the same function that I have used for regular KMLs and KMZs. Sources suggest to create a KML with a "Ground Overlay" to connect to ...
0
votes
1answer
316 views

Esri Android Basemap with kml

I created a kml using the kmllayer. When I set the map with a basemap and use the addLayer() method the kml is not shown. I can see the kml layer without a basemap. Can someone post sample code on ...
0
votes
1answer
8 views

KML Layers suddently not appearing on embedded Google map

I have an embedded map on: http://wtc.army.mil/modules/family%20and%20caregivers/sfacMap.html I am receiving the error below in different forms related to the session id/token trailing after the ...
0
votes
2answers
27 views

How can I efficiently divide a KML file by area, while using ogr2ogr?

I have a work process which uses an ogr2ogr text command to convert a MapInfo TAB file to a KML file. I'm very pleased with this because it maintains the original symbology (a simple 2 colour system ...
0
votes
1answer
15 views

Can't save map with different projection in QGIS

I'm using QGIS 2.4 and am opening a shapefile I downloaded (specifically from: http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_coastline.zip). What I ...
0
votes
1answer
360 views

Setting a scale range for labels in KML files

Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS? If exporting to KML from ArcGIS, I guess the first step is ...
1
vote
1answer
536 views

Import SketchUp created KML contour lines model to QGIS

There's a neat trick to create contour lines based on the GE 3D terrain using Sketch-Up. The resulting KML however is a model I have looked at ways of importing KML layers to QGIS, like it was ...
9
votes
2answers
962 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 ...
0
votes
1answer
88 views

Android Tablet KML/KMZ App for polygons w/offline & GPS capabilities?

I am looking for an Android app which allows me to view and query polygons stored in KML and/or KMZ with a GPS point representing my location and offline capabilities. My KMZ files are being output ...
5
votes
5answers
4k 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 ...
3
votes
4answers
228 views

Converting KML files to shapefiles ArcView license level of ArcGIS for Desktop?

I only have an ArcView 9.3 license at work. What's the best way to convert a large KML file to SHP format? I tried the DNRGarmin tool to import, but the file was too large for that particular ...
1
vote
1answer
18 views

Merge KML layers into one

Using data exported from Google Earth I ma trying to plot restaurants over a large area. To collect all the data for the area I had to use several searches in Google Earth and these are shown when ...
0
votes
0answers
10 views

Dot density inside polygon (kml co-ordinates)

I have a kmz url(its not in local), which has so many polygons in it. Which contains co-ordinates something like: <LinearRing> <coordinates>138.878021,-34.971903,0.0 ...
1
vote
1answer
56 views

KML file saved from KMZ missing tabular data

I saved a KML file in Google Earth from this KMZ ... https://www.rampp-team.com/documents/pennsylvania/watershed/LowerSusquehanna/lancaster_pa/Lancaster_CSLF.zip . Upon opening the KML file in QGIS, ...
2
votes
2answers
67 views

Any idea how to export multiple KML files from one SHP layer?

When exporting one KML, it's exceeding the Google Fusion Table's max limit of 100mb per upload. Fusion Tables however lets users merge more than one KML for a merged max size of 250mb. Any idea how to ...
3
votes
2answers
931 views

Convert KML to shapefile without losing attribute data

So I want to convert KML files to SHP shapefiles to load it onto PostGIS. Currently I'm using ogr2ogr to do the conversion for me, but it wipes out all the attribute data. How do i preserve this ...
11
votes
3answers
24k 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 ...
1
vote
1answer
91 views

Why can I only see a default list of KML attributes in attribute table?

I converted a shapefile to kml using ogr2ogr. Glancing at the output, it looks correct -- it has a <Schema ...> and each <ExtendedData> references the schema (I uploaded a snippet here). ...
0
votes
1answer
117 views

Creating MySQL database for storing imported KML?

I need to create a MySQL database for storing coordinates from a KML file with the structure as follows: <Placemark> <name>someplace</name> ...
0
votes
1answer
17 views

Handling KML/CSV with geopandas - DriverError: unsupported driver: u'CSV'

I'm trying to import a dataset of UK postcode districts UK postcode districts from Google Fusion tables into geopandas with the aim of splicing it to a dataset of house prices. The problem is that ...
0
votes
1answer
105 views

Convert a KML ImageOverlay to World Files with GDAL

I have many raster outputs from an Open Source radio transmission topographic path tool called SPLAT, georeferenced in KML image overlay format. I have figured out an easy way to use tools to ...
11
votes
4answers
2k views

shp2kml license expired, looking for free solution

So I work for a small African non-profit. I do all the GIS and data work. Most of the layers I create, I convert to kml layers so my boss can then use them quickly and easily in Google Earth. But now ...
1
vote
0answers
19 views

Mapwindow and XTools error: XSI is an undeclared namespace

I have tried MapWindow and XTools and have gotten this same error both times when trying to import a KML file into Shapefile format. Does anyone know how I can eliminate this error message? "There ...
2
votes
2answers
286 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()], ...
0
votes
1answer
244 views

Openlayers 2.12 - add selectFeature to button results in “Geometry Undefined”

I have modified the Openlayers mobile Vienna WMS example, and am trying to change the labelButton to allow selecting of features to open a popup. I think it is necessary to do this as on a touch ...
1
vote
1answer
462 views

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? The user logs in and checks Google Maps, then plot points on the map and finally ...
1
vote
0answers
18 views

Create Polygon with inner polygons from KML or Shapefiles?

I am creating a windows forms application and I want to create a polygon from a KML or Shapefile as a layer on top of a Google Satellite map. Today I am using GMap.NET that got an polygon object but ...
3
votes
1answer
171 views

google map api v3 large/complex polygons

I have quite some large/complex polygons I'd like to overlay on a Google map. I can do this but wondered what the best/fastest way is to load them? I have tried using a KML but understand there are ...
1
vote
1answer
2k views

Order of KML Layers in Google Maps API V3

I'm working on a website that when finished will allow the user to turn on and off a number of different KML layers using checkboxes, the layers are parsed through geoXML3 and I want to know how to ...
0
votes
1answer
251 views

How to refer KML style inside TileMill

The following KML file contains paths with style and name tags: example. <Folder> <name>Pedestrian</name> <Style id="style-Pedestrian"> ...
2
votes
4answers
1k views

How to convert KML with tracks to Shapefiles?

I downloaded a KML track from Google Latitude. The service allows to download the tracked route from the user's profile providing a link such as: ...
3
votes
1answer
755 views

Any way to view/create/edit Google My Maps KML files on Android?

I have two large (several hundred features) maps created by Google My Maps that I use for my field research. They contain important information required by the field crew for their work on site. ...
1
vote
1answer
307 views

How to autoclamp to ground automatically in Google Earth using a dynamic KML created from ArcGIS Server 10

It loads as an absolute everytime so terrain must be turned off to see the lines. Any idea how to get it so they default to clamped to ground? Using newest version of GE.
1
vote
0answers
17 views

Good KML conversion program [duplicate]

I recently used the GPSlogger app and created KML files from my routes. I haven't been able to successfully convert them to shape files. Does anyone know a good downloadable program that converts ...
0
votes
0answers
15 views

Right to left language layout for automatic KML popup tables

Using the Layer to KML tool in ArcMAP generates a pop-up table that has left to right orientation, i.e the title is on the left and the value is on the right, like the following exampl I need to ...
1
vote
1answer
311 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 ...
0
votes
1answer
133 views

What KML features are suitable to display 3D atmospheric density data using Google Earth?

I wish to use Google Earth to visualise and explore 3D atmospheric density data. In my case it is ionospheric electron density, which is a niche area, but I can imagine this might have been done by ...
1
vote
1answer
79 views

Is it possible to reproject KML using ESRI's Silverlight API?

My question is similar to this one, but for Silverlight. I need to reproject an entire KML file to NAD83, add it to the map with all the layers, symbology, etc. in tact. Is there anyway to do this ...
9
votes
4answers
314 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 ...
0
votes
1answer
81 views

GeoServer 2.2 and KML with multiple layers

I would like to be able to create a single URL that allows the download of three layers in a single KML file. Here's two ways to do that: WMS KML Plain GeoServer Application Link Both fail. The ...
0
votes
2answers
117 views

Where do I put pause and balloon visibility commands in KMZ tour?

I am teaching a new course called Global Studies, which looks at many aspects of various regions of the world. As in introduction to each region, I plan on making a Google Earth tour with ...
0
votes
1answer
391 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 ...
1
vote
2answers
39 views

Bulk SHP/KML Processing Tools

I need to accomplish two things in bulk: Convert SHP to KML Modify the fill and outline color and opacity either of SHP or KML files What tools can you recommend for these two tasks? I've tried ...
1
vote
1answer
134 views

Convert shape file to kml without losing symbols

I am using QGIS 2.2 and want to convert a shape file containing point coordinates with userdefined svg-symbols to a kml file. Everything seems to work. The orginal file is in WGS 84 / UTM zone 32N ...
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 ...