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

learn more… | top users | synonyms

10
votes
3answers
1k 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 ...
3
votes
2answers
234 views

Move whole Google earth path

I have a KML-file with a path in Google Earth that is slightly displaced. And I don't want to move each coordinate manually. How can I move all of the coordinates together? I think this site is ...
0
votes
1answer
145 views

Auto Generate kml files along the roads for more than 8 points

What I am trying to do: Auto Generate kml files for bus routes. Input: Bus stop list for each route with name and lat/long (every list has more than >30 bus stops.) Output: kml file of the route ...
1
vote
2answers
127 views

KML problems on Google Maps

If I upload my KML file, which contains polygons and pins, to Google Maps, then most of the polygons are missing (see below). To try and address this, I pasted the kml url to the Google Maps search ...
0
votes
2answers
81 views

How do I make shapefiles that I converted from .KML appear in QGIS?

I have created shapefiles from Google Earth but they do not show in QGIS, whereas in ArcGIS they do. I have made sure they are at the top of the layers, not transparent and also I have changed their ...
0
votes
0answers
20 views

QGIS (getting 2 images into kml popup for each point)

I've got a csv file with some points with attributes. 2 of the fields reference a .jpg file which are in the same folder as the csv file. Using QGIS, how do I export a kml so that the popup in ...
1
vote
3answers
105 views

trouble installing the qgis2kml plugin (or, how to install plugins not available in the Plugin Manager from source)

I'm trying to install the qgis2kml plugin for qgis. Its not showing up in the Plugin Manager search and the only qgis "repositories" I can find are websites for downloading source code. Which is ...
0
votes
0answers
32 views

Title data from KML/SHP to google maps

Im trying to take land title data from a Shape file and convert it so it will display on Google maps. Works fine going to Google earth I can get the plots and be able to select each one and pull up ...
0
votes
0answers
107 views

export from .shp to .gpx and .kml fails

I've just upgraded to QGIS Dufour and I am having some problems with the exportation of a simple track from .shp to .gpx and .kml format. I imported from mi smartphone a .gpx track (SR WGS84 ...
0
votes
0answers
97 views

Do SLD styles work with KML in Geoserver?

I am trying to use and in the SLD description for a layer on GeoServer. When I download the KML version of the layer everything works just fine in google earth, however when I go to my webpage which ...
0
votes
0answers
68 views

kml to shp including a field attribute as name/description (using 2.1.0 Durfour)

I have the Durfour version at my disposal. I captured some data in Google Earth, converted it to .shp, made some revision (e.g. added consecutive numbering) and would like to convert it back into ...
0
votes
1answer
238 views

how to get the boundaries of a city in KML from google maps

im trying to write a google maps application. and i wanted to only highlight one city in the world ( im using the masking method explained: https://github.com/vasile/geomask) but now im bugged with ...
2
votes
0answers
47 views

Is there a size restriction on KML layer in esri map?

My website utilizes ESRI's map and it contains several KML layers. Most of them show up fine except for the ones bigger than ~4MB. Are there any restrictions on KML file size? Thanks,
0
votes
0answers
155 views

KmlMouseEvent not working on Google Maps API

I have this application where in I have loaded a kml file over the google map layer.I have these point layer markers from the KML. Now how do i obtain lat/long on the click of markers?. Please guide. ...
1
vote
1answer
74 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 ...
5
votes
3answers
538 views

Advantages of WFS over GeoJSON/KML?

I'm planning to create an online map with openlayers (2 or 3) or leaflet. I have to show some points/markers (~30.000), polygons (~500) and lines on top of an OSM map in several layers. Those points ...
0
votes
1answer
74 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
385 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
1answer
159 views

Why are KML/KMZ parts missing after upload to Google Maps?

I have a problem with a KMZ file uploaded to my Google Maps places: As you can see I have a polygon KMZ file (converted from a shape file in ArcMap) that has 12 parts but the Google Maps shows only ...
1
vote
1answer
224 views

How to convert shapefile to KML file using ArcPy? [duplicate]

Python script that checks to see if a specific layer file exists in the current workspace and, if it does, converts the layer file to a KML file. Does it work with a shapefile? Code so far: for file ...
1
vote
1answer
114 views

Google Earth tour LookAt not looking at same place as Placemark with same coordinates [closed]

I have tried to create a tour from a csv file. I want the tour to look at each Placemark in turn but the view is of a different set of locations when run in Google Earth. The Placemarks are plotting ...
1
vote
3answers
254 views

KML to Shapefile using GDAL (LIBKML) - MultiGeometry data not transforming

I am trying to convert a KML file to Shapefile using GDAL (ogr2ogr). Regular KML files convert fine but KML files containing MultiGeometry features (eg: Geometry containing both Point and Polygon) do ...
2
votes
1answer
139 views

geotools parsing kml with multigeometry only gives me first geometry

I'm trying to parse the states.kml file (http://docs.geotools.org/latest/userguide/_downloads/states.kml) on the geotools website using the following code: Parser parser = new Parser(new ...
0
votes
0answers
34 views

OpenLayers Enable KML feature based on user form

I have a KML layer with over 300 features, but I only want to display features based on a user form. Each feature has a unique ID and Sector and I have added the entire KML to the map but have the ...
1
vote
0answers
134 views

GeoTools: SimpleFeatureCollection to KML error CoordinateReferenceSystem

I want to export a SimpleFeatureCollection (Read from a MySQL DB) to a KML file, here is my code used to read the infos into the console: private void featureCollectionToKML(SimpleFeatureCollection ...
0
votes
0answers
43 views

Z Values - KML to Layer

I have short question concerning the z - values of KML - Files. I am importing a KML - File of linestring s with the KML to Layer Function (ArcMap 10), but it seems that the z values of the KML ...
2
votes
0answers
45 views

Problem converting KML file to .lyr [closed]

I have a problem in converting KML files into lyr ones with ArcGIS 10. I do all the steps perfectly but the conversion fails and the red check mark appears. It is surprising that when I repeat the ...
1
vote
2answers
183 views

Decrease resolution of vector shapes (polygon) i.e. reduce size and number of points in outer ring

I'm trying to get a kmz export down to less than 3 megabytes and am wanting to do so by reducing the number of points in my polygons' outer rings. I've seen this concept in action when it comes to ...
11
votes
1answer
466 views

How to create a KML that supports animated ground overlays?

I have 12 images that represent weather conditions at day 1 through day 12. I am using gdal2tiles to produce map tiles from each of these images. gdal2tiles also produces a KML file that can be used ...
0
votes
1answer
56 views

Global timer java script in KML

i have a timer script which shows the time of system in Description tag <script type='text/javascript'> setInterval('tick()',50); //tick is a plugin and 50 is in ms delay time function ...
0
votes
1answer
197 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
109 views

How to draw downhill path with TileMill and KML?

I have a kml file which contains downhill paths and other points. Here is an example. I imported the file to TileMill and I used Save & Style, but nothing appeared except a few points. I think ...
3
votes
1answer
117 views

QGis: Difference between Mac OSx and Windows

i try to import a KML-Placemark file with QGIS (--> Add Vectorlayer, UTF-8). When i import the File with my Mac (OS 10.6) i don´t have any problems viewing all the attributes stored in the KML-File ...
3
votes
1answer
322 views

Custom Symbols are too small in KMZ File from ArcMap

We are working with the local Police department on an iOS and Android app which will have an embedded Google map showing crime data from the past month. This map is generated via a .KMZ file exported ...
3
votes
1answer
314 views

GPS waypoint mapping with android phone

I am a bat enthusiast and volunteer regularly with the local bat groups on bat surveys. In them we record bats with a bat detector - making a note of the different species (there are 18 in the UK), ...
0
votes
1answer
81 views

Error in shapefile?

I have been provided a set of shapefiles (a couple of thousand). I don't own any GIS software but I would like to convert the shapes to KML and Google's encoded polyline. I have put the shapefile ...
1
vote
0answers
101 views

Combine KML overlays to find overlapping shapes and export to flat file

I have two KML files with many polygons each. One has larger area polygons while the other has smaller areas. They overlap with each other and I would like to know which areas overlap with each other ...
3
votes
1answer
264 views

KML in QGis with additional Data [closed]

i´ve developed a android app that extracts the exif-information of a photo and creates a KML-file (Placemark) - some additional information like camera-type, focal length,... are stored in the tag ...
1
vote
1answer
214 views

Change kml tag structure [closed]

I am working on google-maps kml. I have several shapefiles and using QGIS i have converted it to kml files. When i export the kml (save as kml in Qgis). It contains tag like <SimpleData ...
2
votes
1answer
103 views

Line calculation from KML file

I am a beginner in QGIS 2 and Mac OSx Mountain Lion I need to get line length in meters for different gps waypoints. 1 I import kml file to create a new vector shape (this works fine). The projection ...
2
votes
2answers
177 views

Convert polygons to KML file

I have a set of polygons out of which I want to make a KML file, my table schema is as follows : CREATE TABLE [dbo].[utilitygeo]( [ID] [int] NOT NULL, [PolygonID] [varchar](8000) NULL, ...
2
votes
2answers
184 views

animate polygons in series of kml/geojson/shp

I have a series of KML files (though they could easily be converted to geoJSON, SHP, or anything else that ogr2ogr can handle), each file containing a set of polygons that correspond to the alpha ...
1
vote
0answers
59 views

I want to export from wikimapia into kml all sugar refinery category points

I want to select a country in wikimapia and then export all sugar refinery points into a kml file. Also how do I find the category id for sugar refinery?
3
votes
1answer
100 views

How to get around the 10-character limit when converting from kml to shp with ogr2ogr

I'm trying to create custom .shp files by drawing polygons on a new layer in Google Maps Engine, exporting that .kml file, and then converting that file to a .shp file with ogr2ogr. If I run a ...
1
vote
1answer
218 views

Color matching between Google Earth and Google Maps (same KML)

I'm working on a custom Google Map using API v3. I'm creating my KML files in Google Earth, uploading to Maps and then accessing the KML from there. I'm having problems matching polygon colours to the ...
1
vote
0answers
133 views

Input a KML file dynamically into MapServer without losing attributes?

Is there any possibility for MapServer (I'm running v6.2.1) to process the features / styles from a KML file dynamically? I tried STYLEITEM "AUTO" but it turned out to work only for *.dgn and *.tab ...
3
votes
1answer
280 views

How to convert all shapefiles in folder into KML using ArcPy?

I was trying to convert all the shp in a folder into kml. featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses: # Set Local Variables composite = 'COMPOSITE' pixels = ...
2
votes
1answer
195 views

KML to shape QGIS conversion [duplicate]

I am trying to import a KML file to QGIS. The KML source file is about 15mb is comprised of polygons with attribute data. The KML imports fine and polygons display but the attribute data is unreadable ...
3
votes
1answer
120 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 ...
0
votes
0answers
77 views

Parameterizing SQL Views Timestamp Issue

Could Someone help me? I am having some difficulties creating KML views. I am trying this SQL: SELECT the_geom FROM lighting.history WHERE stroke_time BETWEEN %inicialtime% and %finaltime% and ...