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

How do you export features in OpenLayers 2.13?

I'm new to OpenLayers (2.13). I saw in the example section that it is possible to draw features like lines, points and polygons. http://openlayers.org/dev/examples/draw-feature.html Quite ...
2
votes
1answer
262 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 ...
2
votes
1answer
7k views

Export directions from Google to KML?

I used Google to draw directions from one location to another location, but can't find a way to export it as KML so I can import it into my Android smartphone. Is there a way, or must directions be ...
2
votes
1answer
367 views

Problem with reading data from PostGIS as KML file using PHP

I am using the following PHP code in order to read data from PostGIS and save it in KML format as a file. When I load the page a document with ".PHP" extension is returned (not .kml) which inside has ...
2
votes
1answer
897 views

Converting multilayer KML files to GeoJSON using ogr2ogr

I have a kml file that I'm trying to convert to GeoJSON. However, it turns out there's multiple layers, and ogr2ogr isn't happy. $ ogr2ogr -f GeoJSON shapes.json shapes.kml ERROR 6: GeoJSON driver ...
0
votes
1answer
51 views

querying order with different polygons in Google Earth

I have different polygonal layers in google earth, on the same folder. One layer should not be queryable, the other one yes. If the non queryable layer is visualized, I cannot query the queryable ...
1
vote
1answer
103 views

How to get a kml from stored in a blob file of oracle with arcpy

How to get a kml from stored in a blob file of oracle with arcpy? i try get data or kml files contains in a database oracle in a field of a table, using cursos options of arcpy. import arcpy, os ...
3
votes
2answers
126 views

ESRI Image Service On Google Earth API

I've been started developing GoogleEarth API on web. I'm using GoogleEarth plugin 7.1.2 version. It is probably a simple question but I'm having trouble with that. I'm trying to integrate the ArcGIS ...
1
vote
1answer
155 views

Get Graphics from KML Layer in ArcGIS JS API

I just started working with the ArcGIS Javascript API and I was wondering how I would go about getting an array of Graphics from a KML layer. I do not know where to begin.
2
votes
2answers
450 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
0answers
31 views

Setting global CSS and Javascript in .KML

I've tried googling this question, but I was wondering if it is possible to declare common styles (CSS) and Javascript functions that are being referenced within the tag of multiple placemarks?
0
votes
0answers
374 views

Openlayers can't get KML layer to work

I'm trying to load multiple KML layers with this example project from openlayers.org I can make the KML work in almost all other examples but somehow this code doesen't load. It even breaks the code ...
1
vote
1answer
91 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, ...
1
vote
0answers
39 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 ...
3
votes
4answers
498 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
2answers
82 views

Which format to choose to convert to ShapeFiles?

Given the following format options: all.json, all.xml, all.xls, all.csv, all.kml, all.gjson Which one is the best/easiest to convert the data into standard ERSI Shapefiles which contains the ...
1
vote
2answers
456 views

how to georeference my png using gdal

Hello I have created my own fantasy map, I have the map in a full size png and the map broken down into tiles ( with no geo data ) I installed MS4W and tried to use it to get the georeference data ...
2
votes
1answer
173 views

Edit KML with the mouse in QGIS: is it possible?

In google maps, and more recently in Google Maps Engine Lite, you can create a Track/LineString by clicking with the mouse along a route, delete some intermediate point, drag the midpoint of a segment ...
0
votes
1answer
200 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 ...
0
votes
1answer
311 views

How to make it clickable kml file that has been google maps

I have uploaded a kml file into google maps. Now i need to make it clickable. Can there is a way to do this. or I need to upload by code only?
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 ...
3
votes
2answers
888 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
440 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
250 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
101 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 ...
1
vote
3answers
204 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
290 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
197 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 ...
1
vote
1answer
474 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
82 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,
1
vote
1answer
92 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 ...
6
votes
3answers
1k 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
90 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
921 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
309 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
522 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
223 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
541 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
431 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
37 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
234 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 ...
2
votes
0answers
53 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
344 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
993 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
70 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
387 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
153 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
181 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
628 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
509 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), ...