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
348 views

multiple shapefile export to kml

I 'm new in Python script and i want to export shapefiles in the folder as the kml file with define layer files. for single shapefile it work perfectly refer below script. But I want to export 4 ...
2
votes
1answer
518 views

OpenLayers3: How to show a KML layer with the export to png Button

so... I have this script: <script> //Script1: Script de criação do mapa. var map = new ol.Map({ layers: [ new ol.layer.Tile({ ...
1
vote
1answer
660 views

KML file seems to load in Openlayers without error but doesn't show vectors

I'm trying to load a KML file into an Openlayers map. It seems to successfully run but I am not seeing anything show up on the map. Vectors should show up in an area of New Mexico if it's working ...
2
votes
1answer
37 views

Getting polygons out of multi-polygon GeoJSON files?

I am a farmer and very new to GIS. I am trying to load shapefiles or KML files to an online site/service called FarmLogs.com. Once my "fields" are uploaded the site can tell me the amount of ...
1
vote
1answer
3k 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> <styleUrl>#m_ylw-...
0
votes
0answers
11 views

How to color a KML with OGR/GDAL?

So I have successfully created a KML file and from an OSM file. Now I would really like to be able to color the lines of the KML file by using a value I calculated by using the KML. I already found a ...
1
vote
1answer
761 views

Setting a scale range for labels in KML files

Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS? If exporting to KML from ArcGIS, I guess the first step is ...
2
votes
1answer
41 views

Google earth to QGIS projection problem

I have a 200 mile diameter circle in Google Earth. I saved as a kml and imported into QGIS with the "add vector layer" and it was imported as WGS 84 GCS. Now the Circle lines up on the correct ...
2
votes
1answer
585 views

Openlayers 2.12 - add selectFeature to button results in “Geometry Undefined”

I have modified the Openlayers mobile Vienna WMS example, and am trying to change the labelButton to allow selecting of features to open a popup. I think it is necessary to do this as on a touch ...
0
votes
1answer
38 views

KML file showing wrong co-ordinates on Google Earth

This is little snippet from the kml file now the co-ordinates are for some where in UK with Lat- 51.45 and Long - 0.0386 but when I plot this kml file on Google Earth it shows all the points in middle ...
1
vote
2answers
266 views

Shapefile to KML Conversion Problems in QGIS 2.6.1 on Mac

I am currently using QGIS 2.6.1 on a Mac with OS 10.9.5. I am trying to export a shapefile using QGIS to KML format. I am having success with the export but the data is skewed halfway across the ...
7
votes
4answers
4k views

Exporting 3GB ArcGIS Raster to KML without losing resolution?

I have a 3GB raster layer, and I'd like to export it to KML for use with Google Earth. When I use the "Layer to KML" conversion tool in ArcMap, I end up with a low-resolution overlay: looks like one ...
1
vote
1answer
222 views

How to clip Census tract shapefiles to the boundaries of City Council shapefiles

Before I ask my question, I want to say upfront that I am woefully inexperienced with coding as well as GIS, which is part of the reason why I'm here. I am currently working on a project where I am ...
0
votes
0answers
15 views

Esri Shapefile to KML with gdal resulting in “too_big” in altitude value

I'm needing to automate the conversion of .shp files into something more user-friendly like GeoJSON and KML. The conversion to GeoJSON seems to work okay with this command: ogr2ogr -f GeoJSON -t_srs ...
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
1answer
26 views

Is there a way to export and import again all Map at once?

I have a OpenLayer3 map with some arbitrary layers I can choose at runtime. Layers may come from external WMS services or internal PostgreSQL GIS tables or even from drawn features. Now, I need a way ...
0
votes
2answers
402 views

Adding KML layers to ArcGIS JS API v4 (beta)?

I have been building a web application using ArcGIS JS API v4.0.Beta1. I am having difficulties finding out how to add KML layers to the scene. How do I add the KMLs? I have tried adding a new feature ...
0
votes
1answer
277 views

Problem with adding placemark from kml file with specific id

I have a problem with adding a vector layer from kml file. I am trying to make XMLHttpRequest and add only a placemark with specific id. Nothing is displaying on the map. Request is successful and ...
0
votes
1answer
341 views

ExtendedData and Description coexisting in the same placemark?

I am brand new to KML. I would like to ask if it is possible to have both ExtendedData and Description for the same placemark and have both appear in Google Earth Interface? I am asking because when I ...
0
votes
1answer
29 views

Import KML filename as attribute

I have over 5,000 KML files where its name (*.kml) is crucial for my analysis: it contains the ID of that feature. I want to use the filename to populate a new field, or replace the existing content ...
0
votes
0answers
29 views

need to convert tiff and kml to geotiff

I'm looking to combine a tiff and kml file into a geotiff (this needs to be integrated into a program i'm writing, unfortunately not a one off). Due to dependency issues I can't use GDAL and it ...
3
votes
1answer
1k views

Is there a simple way to visualise point data with height values in KML?

Is there a simple way to display latitude/longitude point data like a 3D bar chart in KML, where the height is specified by a varying value? I've seen some examples where the <extrude> element ...
9
votes
3answers
593 views

Importing KML and style information into Geoserver

So I'm working on a project that's been in development for over a year, but I only recently got involved. My task involves converting roughly 2,500 KML files into another format, importing these files ...
6
votes
1answer
1k views

How to split kml file or extract Placemarks?

I have a file of state 2001 assembly districts outlines, from http://goo.gl/dJPyx in Mapinfo MIF format. I've created a kml file from that using ogr2ogr. These are the outlines of each assembly ...
0
votes
3answers
1k views

KML attribute data on onload of html page using openlayers

How to get KML attribute data on onload of html page using openlayers. This is kml file: click here to get kml file
3
votes
2answers
171 views

ArcMap Exported (KML/KMZ) Meridians and Parallels do not match/ align with that of Google Earth

I was trying to draw kml that are (one degree in gap) meredians and parallels for Austrailia. e.g see i tried to draw 142 degree and 11 degree lines using fishnet in arcmap but when imported into ...
1
vote
1answer
16 views

KML for Labels in Cesium to Display Countries, States, Roads, etc

Is there a free way to display countries, states, roads, etc. in Cesium? I imagine these could be displayed using a comprehensive list of ground overlays in KML. I have looked for free sources of KML ...
1
vote
1answer
41 views

I want to orient point arrow symbols with lines segments in a hydro network, as the line symbol “ArrowRight Middle” does

I am working in ArcMap 10.1. I have to represent the flow direction of a line Feature Class in a FGDB and to convert it in KML format. I have used the "Arrow Right Middle" and it works fine, as my ...
1
vote
2answers
366 views

invalid KML representation on ST_GeomFromKML

I exported a table with a geography(MultiPolygon,4326) column using ogr2ogr to a KML file. When trying to re-import any of the shapes using the ST_GeomFromKML function I get the following error: ...
1
vote
2answers
53 views

Preserving special chars using osgeo.ogr.Driver to shape in Python?

I am converting kml files to shape and run in to the problem that special characters are not preserved. #!/usr/bin/env python # -*- coding: utf-8 -*- import os, ogr, osgeo, sys ogr.UseExceptions() # ...
2
votes
2answers
40 views

Converting ArcGIS layers into .kml for Google Earth

ArcGIS newb here. I'm trying to convert an ArcGIS layer into a .kml format so I can use it in Google Earth. I've found several tutorials for this, but none of them have been helpful so far. They seem ...
1
vote
1answer
2k views

Order of KML Layers in Google Maps API V3

I'm working on a website that when finished will allow the user to turn on and off a number of different KML layers using checkboxes, the layers are parsed through geoXML3 and I want to know how to ...
0
votes
1answer
48 views

kml to shape file (ogr2ogr)

I am trying to convert kml to shape file. I'm using ogr2ogr (gdal version = 2.0.0). Here is the command : /home/vineet/Project/gdal-2.0.0/bin/ogr2ogr --config SHAPE_ENCODING UTF-8 -update -append ...
1
vote
1answer
224 views

What KML features are suitable to display 3D atmospheric density data using Google Earth?

I wish to use Google Earth to visualise and explore 3D atmospheric density data. In my case it is ionospheric electron density, which is a niche area, but I can imagine this might have been done by ...
1
vote
1answer
179 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
24 views

Publishing kml service from ArcGIS Server

I'm publishing ArcGIS map service from ArcGIS Server 10.1 with kml capability enabled. Publish completes successfully. Published data is in coordinate system WGS_1984_UTM_38N, and is stored in SQL ...
11
votes
2answers
1k views

Why does one part of GML -> KML conversion not work on Google Maps?

Brand new to all of this, not even sure this is the right forum to ask in... I have a client who wants to visualise cancer incidence and mortality rates by local/unitary authority across Great ...
2
votes
3answers
9k views

Export shapefile to KML for Google Earth - using QGIS

I am a real beginner with QGIS. I have shape files of my study site. I would like to have the nice google earth background. I would like to be able to see my files in Google earth, then I can zoom ...
3
votes
2answers
41 views

Patchy country polygon after converting ESRI shapefile to KML

My goal is to render the country boundary of Scotland in KML format so I can use it with Google Fusion Tables. I’ve so far managed to do this but with chunks of its surrounding islands missing, so ...
2
votes
0answers
67 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 ...
0
votes
1answer
226 views

Automatically split KML into point, line and polygon SHPs?

I have a lot of KMLs that include points, lines and polygons together, is there a way to automatically parse them into separate shapefiles (one for point, one for line, one for polygon) in QGIS or ...
2
votes
1answer
23 views

Read multiple layers of KML file using R

I have a KML that 3970 layers. I am trying to read it into R using the following script: library(rgdal) lyr <- ogrListLayers("file.KML") mykml <- readOGR("file.KML","Layer1") This works but ...
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 ...
3
votes
1answer
369 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 ...
1
vote
1answer
34 views

Is there any tool out there for simplifying a HUGE KML file?

The Problem: I have a kml file which shows up fine on google earth but is missing lines on google maps, realized that this is because those lines have geometry that is too complex. The map in general ...
2
votes
0answers
49 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 ...
0
votes
0answers
6 views

Setting the initial visibility of the KML NetworkLink accessing ArcGIS Server map service

The objective is to create a KMZ for Google Earth that I can serve up that accesses an ArcGIS Server map service with KML capability turned on (KMLServer) and control the initial visibility of the ...
1
vote
1answer
35 views

KML to shapes.txt conversion

i am trying to convert a kml file that i made on UMap website into shapes.txt using http://bdferris.github.io/kml-to-gtfs-shapes/ but it doesnt see anything in the map any special tools please ?
0
votes
0answers
41 views

Issues when downloading a WMS layer from Geoserver as KML

I am trying to download a Geoserver layer as KML using the KML Reflector. I actually use Leaflet and a plugin (leaflet-area-draw) in order to let the user design a rectangle and then pass the BB to ...
4
votes
2answers
2k views

Any way to view/create/edit Google My Maps KML files on Android?

I have two large (several hundred features) maps created by Google My Maps that I use for my field research. They contain important information required by the field crew for their work on site. ...