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
317 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 ...
0
votes
1answer
219 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 ...
0
votes
0answers
18 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
651 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
17 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 ...
0
votes
0answers
17 views

Using Python to copy the “Export Data” feature [on hold]

Complete newbie here looking for some assistance. I need to convert a shapefile into a KML file and as i do this often was looking at Python to automate it. The shapefile has a join to another ...
3
votes
1answer
362 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
20 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 ...
3
votes
1answer
33 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 ...
1
vote
1answer
744 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
0answers
38 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
29 views

.shp to .kml - Unable to get well formed kml [closed]

I have a shapefile that I want to convert to kml. However, when I use the online conversion tool, my kml is not well formed. I am unaware how to fix my shapefile.
0
votes
0answers
5 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
2answers
255 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 ...
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> ...
1
vote
1answer
28 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 ?
2
votes
1answer
576 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
0answers
27 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 ...
2
votes
1answer
468 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({ ...
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. ...
2
votes
1answer
147 views

How to convert a layer with a symbology using multiple attributes to a KML file using ArcGIS Desktop?

I could use some advice to convert a point feature layer with a symbology that uses multiple attributes (a color-scheme attributed to the percentage of positive malaria cases and a symbol size ...
1
vote
1answer
203 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
17 views

Uploaded KML to google maps, some lines missing

Here is the map: https://www.google.com/fusiontables/DataSource? docid=1ccbF1i2bLhTxUApVWP88vtylQqPNh4gXxuToMV3z On the bottom left you can see where there are some gaps between the lines. There are ...
0
votes
1answer
305 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 ...
3
votes
0answers
26 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 ...
9
votes
3answers
523 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 ...
2
votes
1answer
20 views

Help getting polygons out of multi-polygon GeoJSON files

Farmer here. 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 rainfall ...
0
votes
1answer
31 views

Creating an elevation profile along a KML road based on ASC files

I want to make the elevation profile of a road in KML. I've found this online tool but its does not gives accurate elevations. I already have .asc files of the whole area that includes the KML route ...
2
votes
2answers
30 views

Raster to KML convesrion [duplicate]

How raster data can be converted to KML? I have searched but could not find any answer. Are there any tools in Arc toolbox for such process ?
2
votes
0answers
43 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
2answers
29 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
votes
2answers
273 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
23 views

Imported KML Feature won't display in Earth Engine map

I have converted a shapefile polygon to a KML file using QGIS, and now am trying to import it to a Google Earth Engine feature table to clip some NDVI difference analysis I'm conducting, but I can't ...
0
votes
1answer
64 views

Using Bootstrap Glyphicons as markers for vector layer in Openlayers3

I want to use the bootstrap glyphicon set as markers for a kml layer in an application using openlayers 3. I have tried the following: var shopStyle = new ol.style.Style({ image: new ...
4
votes
4answers
115 views

Google Earth Polygon surface area to follow the curvature of the earth model

Question: When drawing a polygon in Google Earth with latitude, longitude and elevation values at each node, how do you ensure that the surface area of the polygon also represents the desired ...
0
votes
1answer
40 views

Google Earth: Circular polygons that follow earth curvature

I'd like to draw filled circles in Google Earth which follow the curvature of the earth, i.e. for 1000ft altitude, not only the circle's edge but also the center is required to be 1000ft above ...
1
vote
1answer
29 views

Converting many kml files into one kmz and visualize them in GoogleEarth?

Is it possible one kmz file to have many kml files? If yes, how can I convert the kml files to a kmz in order to be able to show them in GoogleEarth? In case of one kml file, I read that its enough to ...
1
vote
2answers
349 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: ...
0
votes
1answer
267 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
0answers
12 views

How to retrive feature's non-spatial attributes from kml file in OpenLayers 3?

I'm working on a webmap using OpenLayers 3 with KML & GeoJSON vector layers. I've managed to render the layers on the map properly. I am able to retrive the attributes from all my kml files except ...
-1
votes
1answer
48 views

How can I import KML from ArcGIS MapServer into QGIS 2.8.3?

Can I import KML from http://gis.nature.cz/arcgis/rest/services/PrirodniPomery/Geomorfologie/MapServer into QGIS 2.8.3? I´m not sure with the duplication. I extracted KML file from KMZ and then I ...
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 ...
3
votes
0answers
136 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 ...
1
vote
4answers
78 views

Download a region as KML/OSM from internet Maps

I need to create a custom Euro Region map from several regions of neighborhood countries. Say Spanish "Galicia" and Portugal "Norte" regions. So, I need to combine 2 KML/OSM/... files. My question ...
20
votes
9answers
30k views

How to convert KML to shapefile without losing attributes using QGIS?

I'm new to QGIS and all geoinformation itself but have to work on some difficult stuff. I have a KML file with hundreds of points. To each point there is information, such as Name, Power, Age (it's a ...
1
vote
0answers
17 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
4answers
4k views

What is best way to convert DWG to KML using ArcGIS or alternatives?

What's the best way to convert Dwg file to Kml ? i have tried to convert Dwg file to shape file then convert it to KML, but i hadn't very good result , i had some shift from where should be seen in ...
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 ...
1
vote
0answers
34 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.