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
285 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 ...
3
votes
1answer
130 views

Google earth balloon not fully visible

When i load my KML on google earth, the balloon appears whole but when I embed on a webpage using the embedKML tool, the data in the balloon (In this case a table) appears to be cut. The close button ...
1
vote
1answer
82 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 ...
4
votes
2answers
75 views

Feature not added to KML Vector Layer in Firefox

UPDATE simplified with JSFiddle example: here is the most simplistic JSFiddle showing what I mean: http://jsfiddle.net/eflowbeach/75eq1mqe/ You can see in Chrome and IE that the feature appears, in ...
2
votes
0answers
42 views

Converting KML To Layer using ArcPy losing objects?

I am trying to a convert kml file to a layer using python. This is my code: import arcpy arcpy.KMLToLayer_conversion('C:\kml\\result.kml', 'C:\kml', 'result') But the layer has lost a lot of ...
1
vote
1answer
35 views

Converting shapefile to KML using JavaScript or PHP?

My client needs to generate maps from shapefiles. Through my initial search, I came to know that we need to convert shapefiles to .kml then we can generate maps from google maps. So I searched for a ...
1
vote
1answer
27 views

How to remove popup window from KML layer in ArcGIS API for JavaScript?

I am using the ArcGIS API for JavaScript for creating a map. I have added some CSV and KML layers to the map. Now the KML is colored base layer(different colored for country) on the map and CSV is ...
0
votes
1answer
344 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 ...
0
votes
1answer
307 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 ...
8
votes
2answers
941 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 ...
1
vote
1answer
500 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 ...
1
vote
1answer
18 views

QGIS create raster from cadastre (property lot data) polygon

I have a cadastre (property lots) polygon dataset of a region. Have used rule-base style in QGIS to show different groups of properties in the dataset classified based on their property lot size (ie. ...
2
votes
2answers
269 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
3answers
6k views

Converting KML to layer in ArcGIS 10 - nothing happens

I have converted many KML files to layer in ArcGIS many times before without any problem. I just did a conversion (Arc Toolbox>Conversion tools> KML to layer) and the file is showing up in the table ...
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 ...
1
vote
1answer
30 views

Unable to save to in Geojson format with the correct projection

I have a shape file (Polygon) in Qgis that I wish to save in Geojson in order to display it with the mapbox javascript api. Original projection is in POSGAR 97 My issue is that it does not reproject ...
1
vote
1answer
424 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 ...
0
votes
0answers
7 views

Serializing features as KML after modification?

I'm trying to serialize features (polygons) as KML after they have been edited via the modify control. Serializing them w/o edits works perfectly. The problem I'm having is the modify process seems ...
3
votes
1answer
76 views

QGIS 2.4 Not Importing ExtendedData from Self-Exported KML

I've been scouring the internet for the past few hours, and I just can't seem to figure it out! Is it just me? I am using Quantum GIS 2.4.0-Chugiak. Here are my simple steps: 1) I create a new ...
2
votes
1answer
70 views

How to pass an argument to an event function in OpenLayers?

I am loading to my map two KML layers for which I add a quasi-similar featuresadded event : layerICPE = new OpenLayers.Layer.Vector( "ICPE (Installations Classées pour la Protection de ...
3
votes
1answer
723 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. ...
0
votes
1answer
227 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
292 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.
0
votes
1answer
130 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 ...
6
votes
3answers
754 views

Google Earth Enterprise & ArcGIS - How do you use them together?

I have been fielded a few questions about Google Earth Enterprise--which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be summed up ...
0
votes
1answer
229 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"> ...
0
votes
1answer
88 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 ...
3
votes
1answer
142 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
77 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 ...
0
votes
1answer
381 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 ...
0
votes
1answer
79 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 ...
1
vote
1answer
99 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 ...
0
votes
2answers
104 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 ...
2
votes
1answer
301 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 ...
-1
votes
2answers
35 views

Converting *.kml file to *.lyr file so Google Earth can create spatial data to use in ArcGIS for Desktop? [duplicate]

Want to convert the .kml file into .shp file so that I can create new the point, line and polygons data to work in ArcGIS. Actually I want to use Google Earth to make data for ArcGIS.
0
votes
1answer
282 views

Getting “Points of LinearRing do not form a closed linestring”

I downloaded the data provided here as KML, exported to ESRI Shapefile format, checked it on QGIS and everything looked fine. Upon trying to use the layermapping utility of Geodjango I am getting ...
0
votes
1answer
41 views

Editing KML breaks icons

Edit: Solved it. When I was creating my new zip/kmz my code was creating various folders within the zip/kmz. Changed: NewZip.write(addedfile) to: NewZip.write(addedfile, newfl) /Edit I have KMZs ...
1
vote
2answers
88 views

invalid KML representation on ST_GeomFromKML

I exported a table with a geography(MultiPolygon,4326) column using ogr2ogr to a KML file. When trying to re-import any of the shapes using the ST_GeomFromKML function I get the following error: ...
4
votes
1answer
218 views

How to generate xml for use with geoxml3

I have a kml and shp I would like to convert to an xml to use with geoxml3. How would I go about doing such a thing? The xml I generate should look something like this: <?xml version="1.0" ...
0
votes
2answers
493 views

How can I view a .kml or .kmz file on a mobile device offline?

I need to view a KML/KMZ file on a mobile device in a remote area where there will not be service. I have downloaded apps that have maps of the area; these maps will be available offline. However, I ...
0
votes
0answers
33 views

Shapefile to KML automatic updates (ModelBuilder)

I am trying to set a model to where it can automatically update a KML only when there are new features added or modified to my shapefile. Trying to avoid having to convert periodically. Can anyone ...
9
votes
4answers
286 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
0answers
30 views

How to align edge of a polygon from one shape file with edge of polygon from another shape file

Initially I had a kml file of geographic regions. Each region is a single polygon. I have imported the kml file into ArcGIS as a shape file. Several of the sides of the regions are supposed to align ...
0
votes
0answers
25 views

Embedding a open source topographic Earth (maybe Google Earth) onto a website?

For a project, I want to create a website that includes something that resembles Google Earth. For this website I would like the starry night background with the Earth in the middle (like that on ...
1
vote
1answer
58 views

How to render tiles from kml file

I'm trying to render tiles out of a KML file. Normally, I'd render tiles out of an planet.osm extract. For example, I'd select a tag using osmosis and then process it with osm2pgsql. Then I'd ...
0
votes
1answer
115 views

Geodjango render_to_kml Multipolygons - Can be fast or faster as WMS?

I am learning now geodjango. I made basic web app with postgis database. With openlayers iam displaying basic wms map and I want to add other layers from my postgis database. I use render_to_kml ...
3
votes
4answers
1k views

can't read attribute from map file (.kml) using openlayers

I want to create thematic maps using openlayer with kml map. but when i run the code, color and label thematic maps of the polygon can't show up. instead writing out undefined. what's the cause? are ...
0
votes
1answer
70 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 ...
0
votes
0answers
38 views

Retrieving all towns/cities/villages within 2km of river path?

I need to find all the cities/towns/villages that are within a 2km range along a river path. So the solution I have now is to create a google custom map, and draw a polygon which will be 2km from ...
0
votes
0answers
77 views

KML parsing error: parse error line 1, column 0. Not well-formed, invalid token

A week ago I opened an old .kmz file in google earth to add a few pin-drops. Everything saved correctly and updated for a good 3 days, then I started to get a parsing error in google earth upon ...