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

learn more… | top users | synonyms

0
votes
0answers
5 views

Import export KML Layers in Flex Viewer

Hi I had a request from a peer for a KML import/export for the ArcGIS Flex Viewer. I could not find much except for a KML Importer widget that no longer works for flex viewer (stopped at 2.5). Is ...
0
votes
1answer
11 views

Error Exporting ArcMap Feature to KML, Retain Attached Photo

I have a set of point features in an ArcGIS file geodatabase. I have attached a photo to one of the points, using the built-in tools 'enable attachments' and 'add attachment'. The photo is stored on ...
0
votes
0answers
16 views

ogr2ogr export to KML from SQLite, when using SELECT for fields Linestrings are lost

I'm using: ogr2ogr -sql "SELECT * FROM 'trails_utm_utf8' ORDER BY name ASC" -f KML trails.kml trails_utm_utf8.sqlite -s_srs EPSG:900913 -t_srs EPSG:4326 to reorder, re-project and export to KML ...
1
vote
2answers
20 views

Windows script/application to convert GPX to KML?

OSRM seems to have everything I need to draw bicycle routes, but it only exports routes as GPX while the smartphone application I use only supports KML. Does someone know if there's a Windows script ...
2
votes
1answer
15 views

How to define KML Name element when using QgsVectorFileWriter?

I am trying to use QgsVectorFileWriter to write a kml file from an active layer in QGIS, but cannot figure out how to define the KML Name element (called NameField in the QGIS save-as GUI) to ...
1
vote
1answer
47 views

How do I preserve measurement between QGIS and Google Earth?

Wondering if anyone has found a way around this: I am having issues when importing shp files into Google Earth. I need reasonably accurate measurement data and my measurements change significantly ...
0
votes
1answer
49 views

How to get lat/long of all adresses inside a polygon in google map?

I have several polygon shapes inside a City in Germany. I need to generate Point data of houses inside those Polygons. It is very time consuming to add all the building Locations manually. I am ...
1
vote
1answer
40 views

2GB .KMZ file wont't open

Not sure if I'm asking the right question. Never used Google Earth Pro before, but I have a 2GB KMZ file and I can't open it. Is there a way to break it down further or is there a limit to how large a ...
1
vote
1answer
25 views

Add kml file with associated png images as openlayer layer

I have private sonar data in kmz format, and can easily produce more. I understand that OpenLayers cannot use kmz files, so my question is if it can handle the uncompressed kml file with all the png ...
0
votes
0answers
25 views

Can someone explain the use of relative paths with KMZ and KML files?

I am saving a map to KML from ArcMap, which creates a KMZ file. In the attribute table of one of the shapefiles, in this case soil borings, I have entered a typical "<href XXX </a>" ...
3
votes
1answer
50 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
0answers
33 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 ...
1
vote
1answer
60 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 ...
0
votes
1answer
20 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 ...
3
votes
2answers
77 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 ...
0
votes
2answers
34 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
0answers
12 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
29 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
1answer
23 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 ...
2
votes
2answers
73 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 ...
0
votes
1answer
27 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 ...
1
vote
0answers
32 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 ...
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 ...
1
vote
1answer
49 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
52 views

Use Display Expression for KML Popup, SHP to KML ArcGIS

In Arcmap I've created a complex label expression in the Display expression for my layer. I'd like to have that expression displayed when I convert the layer to .kmz file for display in Google Earth. ...
2
votes
2answers
53 views

kml does not overlay correctly in QGIS

In QGIS, when I insert a kml contour that was created in Google Earth, it appears misaligned in respect to all the other layers. Note in this image how the red contour is moved upwards with respect ...
0
votes
0answers
42 views

ArcGIS API for Javascript: Time Aware KML Animation

I am using ArcGIS API for Javascript. I would like to know how to animate a KML file with time-aware ground overlays using the built-in time slider?
2
votes
0answers
65 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
61 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 ...
1
vote
1answer
96 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
29 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. ...
1
vote
1answer
48 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 ...
0
votes
0answers
9 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
190 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
89 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 ...
-1
votes
2answers
55 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
47 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 ...
0
votes
0answers
45 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 ...
0
votes
0answers
27 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 ...
0
votes
0answers
45 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 ...
1
vote
1answer
77 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
0answers
45 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
298 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 ...
0
votes
1answer
105 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 ...
1
vote
2answers
86 views

How to remove the description information when exporting to KML?

I have been working in ArcGIS to convert shapefiles into kml files using ArcGIS toolbox. The resulted kml/kmz contain some extra set of information in the description field that is used to show a ...
0
votes
0answers
47 views

Google Earth Canada NTS 1:50000 Overlay

Not that long ago there was a Google Earth kml overlay file (ie. wms-ctis.kml) titled Canada Geographic Names and Maps which included the Overlay Canadian topographic maps. This would allow one to ...
4
votes
2answers
87 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 ...
0
votes
1answer
47 views

Use Microstation wireframe model for OpenStreepMap

I've got an entire city in Microstation DGN format. I'm able to convert it into Google Earth (KML), DXF, SVG and other formats, and then in .osm with ogr2osm. However, the 3D model is build entirely ...
0
votes
0answers
34 views

Is the geoxml3 javascript API compatible with the mapstraction API?

I am getting ready to revamp a google maps application and I was considering utilizing mapstraction. I am currently using all google maps js, with a kml layer overlay, but obviously by using the ...
2
votes
1answer
1k views

Looking for an android solution for offline kml/kmz file viewer with gps support

I have some KMZ files of cadastral maps. I need to fiscally go to the boundaries of my lands (parcels) and take a look at where they are with the gps and maps support. Some of these places are not ...