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
1answer
493 views

Exporting ArcMap Feature to KML while retaining 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
143 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
241 views

Windows script/application to convert GPX to KML? [duplicate]

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
71 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
118 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
2answers
1k 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
216 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
452 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 ...
3
votes
1answer
466 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
178 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
2answers
3k 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
113 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
428 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
121 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 ...
1
vote
1answer
331 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
71 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
334 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 ...
1
vote
2answers
357 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
304 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
20 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
105 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
356 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
114 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 ...
2
votes
0answers
201 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
313 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
423 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
80 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
117 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 ...
3
votes
1answer
820 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
396 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
357 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
100 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
100 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 ...
2
votes
1answer
217 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
83 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
1k 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 ...
2
votes
2answers
451 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
546 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 ...
4
votes
2answers
174 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
149 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 ...
2
votes
1answer
10k 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 ...
0
votes
1answer
84 views

How to export qgis as a kml file?

I have a .qgis contour plot. I would like to convert this to a .kml file. How specifically would I go about doing this?
1
vote
0answers
319 views

How do I embed a KML map using the “new” Google Maps?

I have a KML link that I can use to generate an embedded Google Map using "old" Google Maps and would like to use it instead to create a "new" Google Map embedding. To generate the an "old" ...
0
votes
1answer
394 views

sub-dividing KML files

I do have a kmz file which marks the boundaries of a larger district and it's sub-districts. Still new to GIS and in the process of getting familiar with QGIS, I wonder can anyone advise me how can I ...
0
votes
1answer
344 views

How to convert excel csv file to filled contour Google Earth Map?

I have a csv file http://www.geocities.ws/radar/data2.csv. The first column is latitude. The second column is lonitude. The third column is precipitation type. 5 represents freezing rain. 15 ...
0
votes
2answers
234 views

Converting GEDCOM to KML?

Does anyone know of a way to convert GEDCOM files to KML? I am building a family tree and I would like to be able to upload the infromation I have gathered to Google Earth. I already tried to use ...
0
votes
1answer
194 views

Kml not overlaying onto Google Map

I created a basic dashboard with MVC 4, visual studio 2012, The dashboard displays a Google map. Here is an image of the dashboard: My intention is to be able to take this Kml file: And ...
1
vote
1answer
2k 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> ...
1
vote
1answer
124 views

Simulating historic GPS data on map [duplicate]

I have some really basic newbie questions. I have following data with me: ESRI Shape files (.shp, .shx, .dbf, .prj, .sbn and .sbx) KML/KMZ files GPS coordinates (~400k) of some cars (~50) tracked ...
3
votes
1answer
99 views

Are ESRI Shapefiles and KML files two different ways of representing data?

I have a really basic newbie question. I have following data with me: Esri Shapefiles (.shp, .shx, .dbf, .prj, .sbn and .sbx) KML/KMZ files Are Esri Shapefiles and KML files two different ways of ...