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

learn more… | top users | synonyms

3
votes
0answers
32 views

How can I export to CSV a list of addresses that fall within a shape file?

I currently have a shape file (KML, but I also have it in other formats as well) that outlines neighborhoods within a city. I also have a list of vacant property addresses in CSV. I'm currently ...
3
votes
0answers
65 views

Geoserver: Exception when importing KML

I have a KML that I would like to import into Geoserver. The KML originates from a Geoserver WFS getFeature Request itself and looks like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"...
3
votes
0answers
328 views

Problem importing KML file to OpenLayers - Projection System

I know that many have this problem,but none of the answers helped me so i suppose it's a different problem.This is my code: <!DOCTYPE html> <html> <head> <title&...
3
votes
0answers
150 views

How to export two related layers to KML with multigeometry using QGIS?

From QGIS, I would like to create a KML file, for GoogleEarth, which contains multigeometry in that KML file. By example: consider two layers in QGIS -- the first layer contains polygons, and the ...
3
votes
0answers
145 views

traversing KML files with ogr python

i'm new to OGR processing and KML format so be gentle: i've got a series of KML files all containing multiple regions partitioning a larger area in each. i also have a series of geocoded points for ...
3
votes
0answers
738 views

How Do i Secure My KML files for a rails application?

I would want to keep my KML files to be secure or password protected. I am keeping them on a public server, and i dont want them to be accessible to anyone. I am using geoxml3, so any lock applied to ...
3
votes
0answers
636 views

How to export multiple Shapefiles to one KML file in QGIS?

As the title says, is it possible to export multiple Shapefiles to one single KML in Quantum GIS (Similar to "Map to KML" in ArcMAP)?
3
votes
0answers
137 views

Setting relative paths for KMZs in Arc2Earth dialog?

Using Arc2Earth, I'm converting a large vector dataset to a KML with regions. The resulting kmz works great on my computer but the files paths are all actual paths and not relative, so they don't ...
2
votes
0answers
69 views

How to convert Shapefile to KML in Python

My goal is to extract certain shapes from a shapefile, and render the chosen shapes in a KML file. From searching gis.stackexchange, I was able to piece together the necessary components, and the ...
2
votes
0answers
50 views

Open KML in QGis

I am very new to QGIS. I want to open a .kml file in QGIS (downloaded from geoportal.de). If I want to open the downloaded file directly with QGis an error appears. I read the tip to first open ...
2
votes
0answers
66 views

Converting KML coordinates to Leaflet

I am trying to convert a Google Map KML file to a csv, to map the longitude and latitude points on Leaflet. But the coordinates keep mis-projecting and some end up off the land mass. The steps I have ...
2
votes
0answers
43 views

Create network graph from contiguous polygons in KML, or PostGIS?

I am using Postgres 9.5 and PostGIS. I have a table with a geometry field. This table has about 200 rows, in each of which the geometry field contains a Polygon. I would now like to derive an ...
2
votes
0answers
112 views

How to scale, rotate and translate a KMZ file in Google Earth

I'm a GIS software developer. I would like to adjust manually a KMZ over Google Earth images scaling, shifting and rotating it. What I'm wondering is a tool like the one in Google Earth to add a ...
2
votes
0answers
28 views

Converted ArcMap to KML Layer doesn't scale in Google Earth

I converted an ArcMap layer to KML and exported to Google Earth. I had set the Layer Output Scale to '1' during conversion, however when I open in Google Earth, the layer does not scale as I zoom in. ...
2
votes
0answers
326 views

Qgis 2.10-kml is not a valid or recognized data source

After upgrade from Qgis 2.8, importing the kml format doesn't work. The Kml file is not problem, because it works well on other computers. I tried to reinstall Qgis, but the problem is still here......
2
votes
0answers
69 views

Why does GPSBabel turn a short GPX route into a big KML with waypoints?

I read the online help file before asking but didn't find what's wrong with the following command to convert a small GPX file from www.cycle.travel to a KML that I can use with a smartphone ...
2
votes
0answers
147 views

Command-line utility to convert GPX into KML?

I use Cycle.travel to draw cycling routes. However, the Android application I use on my smartphone only supports KML. As an alternative to GPSVisualizer, I tried the command-line utility GPSBabel, ...
2
votes
0answers
53 views

Understanding Latitude Jumps

I'm decoding some AIS messages and outputting KML files showing routes. Looking at some ships in the Adriatic Sea there are some weird Latitude jumps that I don't understand. Several ships show ...
2
votes
0answers
184 views

Using OGR2OGR with LIBKML (Examples please)

I am trying to figure out how to use GDAL (ogr2ogr) to export spatial data from SQLServer to KML. The standard KML driver works, but it is not very robust. LIBKML has so much promise (layers, styling, ...
2
votes
0answers
251 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 ...
2
votes
0answers
943 views

Adding KmlLayer using local file (File API)

I am trying to load a local KML file to the map for this I am using FileReader object (File API). To use google.maps.KmlLayer I need to use readAsDataURL to transform to a URL the file, the problem is ...
2
votes
0answers
114 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,
2
votes
0answers
312 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 ...
2
votes
0answers
329 views

How to serve KML files from ArcGIS Server in AGS JSAPI 3.6

I have a javascript test page that adds a couple kml layers to a map and I can toggle them off and on. I seem to get info popups for free with KML. When I click on a point feature I get the data ...
2
votes
0answers
899 views

Geotools, output to kml and convert meters

I have a complex problem. I'm using geotools 10.* I have input data: latitude, longitude (WGS_84), radius in meters, start angle (12 o'clock), end angle (clockwise, i.e. turn to the right). I need ...
2
votes
0answers
687 views

egeoxml vs geoxml

What is the difference between egeoxml and geoxml? What i know is both are client-side parsers and both allow me to edit the kml files on the run. I guess egeoxml is an initiative by google itself ...
2
votes
0answers
823 views

How to draw an overlay using KML on our own app in Android?

Repost from here Hi there, I want to draw an overlay using .kml files, just look like this. But on my own app in MapActivity. 31.kml, display district in Jakarta, Indonesia or the example that I get ...
2
votes
0answers
1k views

OSGB36 to WGS84 reprojection 'error'

First off, I am a recent convert to QGIS and am greatly impressed with its ease of use and speed compared with the ESRI products with which I am more familiar - my congratulations and thanks to its ...
2
votes
0answers
287 views

How to programatically add KML Icons to Placemark generated from SimpleFeatures using GeoTools?

I have successfully generated a set of (unstyled) placemarks in a KML file using the GeoTools framework, and the Encoder class. The file renders fine in Google Earth with standard balloon placemarks. ...
2
votes
0answers
583 views

directions (path find) given kml supplied bounds

Im trying to generate directions using google.maps.DirectionsService and I really need those directions bounded by the paths defined from within a pre-made kml file. I have reviewed the API docs for ...
1
vote
0answers
12 views

I am trying to have markers in a KML to follow the direction of the view in Google Earth

I am trying to represent the flow direction of streams in a KML file to be used in Google Earth. As complex line symbols are not supported by the KML format, I have opted for a solution combining ...
1
vote
0answers
48 views

KML with raster in QGIS

I have a kml file which displays correctly in Google Earth but only as a bounding box in QGIS . What can I do to see the associated raster image?
1
vote
0answers
11 views

How to avoid QGIS line width scaling when exporting geometry to KML?

I have shapefiles loaded as linear geometries in QGIS. I use the layer properties dialog to apply some styling to them (color + linewidth). The goal is to output each layer as KML file. My problem ...
1
vote
0answers
19 views

Why does connected polyline (KML file) appear unconnect in arcmap as layer?

I created polygone in google earth and imported it to arcmap as layer. All things are OK but when I converted polygon to polyline, there some parts of polyline has not shown although its vertices ...
1
vote
0answers
64 views

Edit limited to part of multi geometry collection in kml google earth

I have polylines on kml format ,I want to edit those kml polylines via google earth when I try to modify the polyline I get the error Edit limited to part of multi geometry collection.
1
vote
0answers
57 views

How to create an elevation profile in google earth from a kml?

I have a KML file of a stream that I originally created as a line shapefile in ArcMap (one stream extracted from a larger watershed data set). I need to create an elevation profile of this stream. ...
1
vote
0answers
30 views

google earth - viewing KML file in world map

I"m using google earth and a KML file that I have generated. I would like to display all the KML points in a world map. Google maps online does it but the print is poor. Need a 300 dpi print which ...
1
vote
0answers
42 views

ESRI Javascript KMLLayer and CSVLayer

I have a map where I have a KMLLayer that defines a geographic boundary and a CSVLayer that defines points within that boundary. I do not want any infoWindow information popping up for the KMLLayer ...
1
vote
0answers
48 views

Extract Labels (city names, state names) with shapefiles using QGIS

I want to extract shapefiles with labels on it using QGIS but labels cannot be extracted along with shapefiles. Here's the image: I want this as my output after extraction: How to do something ...
1
vote
0answers
32 views

Google Earth KML Folder Point descriptions clean-up

Having trouble figuring out how to fix the Folder with my point description. The picture I added shows you 2 different point description styles. One has the main point name and popup info underneath ...
1
vote
0answers
26 views

Running basic JavaScript in KML to be viewed through OpenLayers API

I am trying to build an application in which points can be loaded on OSM map using KML called through OpenLayers with a balloon popup on each point. I am using the sample Sundials application: http://...
1
vote
0answers
23 views

Can GML contain symbology?

I know that KML can contain symbology in it. I understand that GML is the open version of it. Can GML contain symbology too?
1
vote
0answers
31 views

KML Regions feature not working in Google Earth 8.0.2.2334 installed on Android

When I load a kml in Google Earth 8.0.2.2334 installed on my Android phone, the KML Regions feature is not working (for me). I have read and reread the Google Dev pages. I have googled for a solution ...
1
vote
0answers
24 views

Showing polygon in OpenLayers Timeline?

I am trying to use the OpenLayers TimeLine library with a kml file. I used the available example for kml in github, but it shows points instead of polygon. How can I display polygon the TimeLine ...
1
vote
0answers
89 views

QGIS KML layer won't show up in Google Maps API

I've trimmed US Census shapefile data to show census blocks in just three states, by editing the attribute table. I then color coded the states based on values in the table by changing the style in ...
1
vote
0answers
24 views

Map to KML not exporting all layers within data frame

I have about 12 layers in my TOC originating from various sources (Folder, GDB and another folder). I would like to convert all this to a KMZ file. When I select "Layers" in the "Map to KML" tool data ...
1
vote
0answers
337 views

Google maps api kml layer not working

The code below was working, but now it is not. This isn't my actual production code, just my KML test document to make sure everything is working. I got this document as a working example from stack ...
1
vote
0answers
73 views

Representing Geoserver's WMS-T as time-aware KML for GoogleEarth frontend

I'm using Geoserver to publish* sets of hourly raster imagery and fought for a while to get a working example of Time Aware KML accessing my Geoserver to enable GoogleEarth as a frontend. A snippet ...
1
vote
0answers
55 views

getImageData() returns all 0 values in data for an OpenLayers3 layer set as Transparent (Safari 8 on OSX Yosemite)

Please pardon my ignorance if this seems trivial, but I am very new to using openlayers3 for map rendering. I am rendering a Tiled layer over the world map layer for the KML data from CGI mapserver ...
1
vote
0answers
26 views

Missing XML Attributes in Geoserver

I've imported a number of files that used to be in KML format into geoserver after putting everything into a PostGIS table. Now I would like to use CSS style information that was associated with the ...