Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kml]

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

2
votes
0answers
18 views

Plotting KML data on Leaflet map

I have 5 different KML files for each subzone of Singapore map. I want to plot the KML data by subzone on a Leaflet map. library(leaflet) library(raster) library(readxl) library(rgdal) setwd("F:\\...
0
votes
0answers
6 views

Style data getting lost while importing KML using ogr2ogr

I am trying to import the KML data generated from Google Earth into PostGIS using gdal(ogr2ogr). <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="...
0
votes
1answer
26 views

Extracting information from KML files in R, beyond coordinates and date/time

I have GPS-telemetry data from animal movement monitoring that records, besides Longitude-Latitude coordinates and date/time, other information (GPS HDOP, elevation and other important stuff). I can ...
0
votes
1answer
38 views

Adding KML as operationallayers on local server

I want to add a KML file, hosted internally on a server, as operationallayers. It doesn't seem to be working. If I put the KML file in Google Drive or Github and then call it like : { ...
0
votes
0answers
46 views

KML file not showing anything on the google map

When i import this KML file: https://yadi.sk/d/G3DJywNAliflew Nothing shows up on the map, just centering around Kazakhstan. This KML file has layer (like 2G cellular coverage map). What i am doing ...
0
votes
0answers
28 views

KML parser in GeoTools won't parse TimeStamp

.... <Folder> <name>FooName</name> <Placemark id="3"> <description><![CDATA[ Foo HTML stuff ]]></description> <TimeStamp> ...
0
votes
1answer
71 views

Converting KML with multiple layers to Shapefiles?

I have a KML-file (available here). It has several polygon paths for Alos/Palsar images. I am in need to convert all these files from KML to shapefile, saving the layers using the layer "ID". I am ...
0
votes
0answers
18 views

Using KML to Layer tool in ArcMap always produces a GDB?

When I use this tool to convert a KML into ArcMap 10.6.1, the menus ask for a GeoDB, then a layer name. At least that is my understanding. I cannot for the life of me import a KML into an existing ...
0
votes
0answers
12 views

Point graphic at KML center

Is there a way to add a point graphic at the center of a KML file i have added on a web map in ArcGis Online? I'd like to do that so as to have a point indicating the KML's position when zoomed out ...
0
votes
0answers
13 views

Removing labels for deleted point features in ArcGIS Pro?

I am new to ArcGIS pro. I have a number of points on a map that have been inputted into ArcPro from a KML file. I have deleted some of the points as they aren't required but the labels for the deleted ...
0
votes
1answer
50 views

Properly compressing KML file in Linux OS

I am trying to compress a KML file using gzip on a Linux system gzip -cvf somefile.kml > somefile.kmz When I go to try and verify the new KMZ file in Google Earth, I receive the following error: ...
0
votes
0answers
41 views

KML (with no data/feature) to shapefile

I have a .kml file and it opens on my Google Earth Pro. When I tried converting it through ArcMap it didn't work, an error occurred saying it had no data. On further googling about it, I understand ...
3
votes
2answers
58 views

Visualization of pictures for points in QGIS

I'm working with QGIS Desktop 3.2.3. A Colleague of mine worked on a Google Map and inserted in his Google Map Pictures. He exported the KML and gave it to me so that I can import it to QGIS. The ...
0
votes
0answers
17 views

Export to KML Issue (X-Tools Pro)

I am using ModelBuilder within ArcMap 10.4 with the X-Tools Pro addon. One of the last tools that is executed in my model is the "Export to KML" tool from the X-Tools Pro addon. After a couple of ...
0
votes
2answers
43 views

Using Open GIS’s KML Schema Definition (ogckml22.xsd), Microsoft.Net XML Schema Definition Tool Fails

In brief, on one hand, I expect Open GIS’s KML Schema Definition, i.e. ogckml22.xsd, to be rock solid; fully debugged. Likewise, Microsoft.Net’s XSD XML Schema Definition tool (https://docs....
2
votes
2answers
69 views

How to use a .kml file to create a 3D mesh from contours?

I have downloaded a .kml file from this source: http://www.carpworld.co.za/index.php/dam-contours/boskop-dam. This is how it looks in Google Earth: This file contains contours of Boskopdam (a local ...
1
vote
1answer
40 views

OpenLayers Load KML Layer in the background

I would like to show a polygon in OpenLayers. The polygon was defined in 3 KML files with difference level of detail, ie: Low Resolution KML (with 100 points) Medium Resolution KML (with 1000 points) ...
1
vote
0answers
50 views

Transfer markers from MyMaps to QGIS?

I need to georeference a list of places. Unfortunately, my original file doesn’t contain addresses, it is made up of a list of famous locations, such as the St Mark Basilica, Miramare Castle, ...
1
vote
2answers
41 views

Reduce complexity of KML file

I have a 6mb KML file I am using with the Leaflet API/Ominvore plugin. It is just a centerline of a long distance trail. What would be the best way to make it smaller? Reduce complexity etc.
1
vote
1answer
67 views

OpenLayers: How can I add multiple KML files to the same vector layer?

I'm trying to add some KML files to a vector layer using this code: var map = new OpenLayers.Map('map'); map.addLayer(new OpenLayers.Layer.OSM()); var kml = ['...
0
votes
0answers
50 views

Importing KML file into Google Earth Pro says Junk after document element?

I'm very new to using GIS platforms. I've sourced some spatial data for a archaeological project from the 'Portable Antiquities Scheme' website. There was a KML file available to download. I'm not ...
0
votes
1answer
35 views

KML polygon rainbow filled colors is showing only as simple color?

I draw filled color contour in Surfer application I imported this file to Google Earth as .kml file There is no problem so far I tried to import the same file to QGIS 2.18.28 But the colors is not ...
0
votes
2answers
56 views

How to fix a KML import file within QGIS

I have a KML style file provided of burnt areas from significant wildfires. As the fires continue, seven of the polygons out of about 30 appear to be corrupted with duplicate nodes and overlapping ...
0
votes
0answers
135 views

Get Google Maps driving directions between points in a KML file?

I'm trying to improve a workflow that currently involves manually composing a multi-destination driving route in Google Maps. I have the ability to export a KML file containing the points we want via ...
2
votes
2answers
335 views

GeoJSON to KML conversion

Is it possible to convert GeoJSON to KML format using geotools. I am trying to figure out this using Java but I can get results only using node js.
2
votes
1answer
54 views

QGIS/QDAL: Accessing OGR_STYLE across all layers in a KML file

I get a regularly updated KML file which I need to pull into QGIS. It has different folders/layers (about 12), and features in each folder/layer have different <styleURL>s. I need to access ...
0
votes
0answers
39 views

How to add my photo in KML with Android?

I have tried with overlay and Placemark, I store my photo and KML together in one KMZ but when I open with Google Earth, I only can see the text in the location, not the photo. Here is my code: [?...
0
votes
2answers
49 views

Opening KML file from ArcGIS server with GDAL?

I am able to open the google KML sample by running: ds = gdal.OpenEx( fn, 0 ) But when using a specific file that I get from my country's database, it doesn't work. I've solved the problem by ...
0
votes
0answers
63 views

Transfer Markers from MyMaps to QGIS

I've georeferenced a list of adresses on Google My Maps, I'd like to transfer them to QGIS so I can create a better map with them. When I export a KML or KMZ file from My Maps and open it on QGIS, I ...
1
vote
0answers
44 views

ArcGIS freezes when opening most toolboxes

I'm using ArcGIS 10.6.1 on Windows 10. I work from home using a VPN to connect to my university's network. It's been nearly impossible to open any dialog boxes. For instance, I frequently use the ...
2
votes
2answers
42 views

Batch converting KMLs to shapefiles in PyQGIS?

I have a folder full of KML files and I want to create a .shp, .shx, .prj and .dbf files from these KMLs. How can I accomplish this? Below is the code that I am working on: enter code here import ...
0
votes
2answers
68 views

OpenLayers - order of layering from a KML file

I have a set of KML files hosted on a webserver, which two applications use; one uses OpenLayers and one uses Google Maps. The problem is the order they render the KML. Google Maps (and Google Earth) ...
0
votes
0answers
21 views

Conversion to KML won't convert whole layer

I'm trying to convert a vector layer to a KML file. Here's what the layer looks like in ArcMap-- as you can see, it has multiple polygons: Here's my code: import arcpy arcpy.env.workspace = r'C:\\...
0
votes
0answers
13 views

Removing placemark in KML exported from MapMyWalk

I created a route in MapMyWalk, saved it with distance markers turned off. When I export the file to .kml and open in Google Earth, a placemark and label for every one of the 220 miles appears. I ...
0
votes
1answer
43 views

Converting GPS data to KML?

I have some waypoints, and I need to input them into Google Earth. How can I convert data from GPS to KML file?
0
votes
1answer
154 views

Google Earth Engine - WFS, WMS, and KML feeds

I'm new to Google Earth Engine, but I am trying to determine if there is a way to produce WFS, WMS, or KML feeds with it. For KML it can't just be the file, but a web service that has a URL. The end ...
0
votes
0answers
71 views

Why are maps made on Google Fusion Tables, using KML file format, not rendering properly?

On this particular map of mine, the feature in Fusion Tables seems to only approximate the geo-locators that I have specifically inputted. In fact, it takes every second point and plots it out, ...
0
votes
0answers
26 views

QGIS KML lengths appear to be wrong? [duplicate]

Every time I import a KML into QGIS the line lengths are wrong. A line that was 191 ft on Google Earth is now 260 feet in QGIS. How can I solve this problem?
-1
votes
1answer
48 views

Get some sample coordinates inside an area using its KML file [closed]

I have a KML file which defines an area. I want to get coordinates of some points inside that area using my KML file. I googled a lot, but I only found codes to check if a point is inside. My issue ...
1
vote
0answers
20 views

ArcGIS Layer to KML scale

I am trying to create a KML from a layer composed of a large number of polygons. Because of the large size, it is quite slow to load the KML in Google Earth. Is there any way to create the KML so ...
1
vote
1answer
163 views

Showing KML data point info as popup in Leaflet?

I'm new in Leaflet. I'm using Leaflet as my base map. I have a lot of points as a KML file. I used GeoJSON & omnivore.kml(...) to load my KML file. Every thing is ok and it loads perfectly. My ...
2
votes
2answers
480 views

Reading KML Files in R?

I'm hoping to analyze google timeline data in R for a final project in a GIS class, Google can output timeline data as geojson and KML but it looks like the KML file includes a lot more info (type ...
0
votes
0answers
34 views

Convert shapefile to KML: KML polygons don't match shapefile

I've edited my shapefile quite a bit using the Cut and Merge tool (through the Editor toolbox, not the geoprocessing tool). It looks like this: For some reason, when I export the shapefile to a KML ...
4
votes
4answers
703 views

Importing KML styles into QGIS

Can I import a KML file with styles to QGIS 3? (As of now version 3.4.1) I have a .kml file with cycling routes that have a different color for the time between sunset and sunrise. When I import the ...
0
votes
1answer
68 views

KML Screen Overlay - works on google Earth but not on ArcGIS

I've been trying various things to get this to work on ArcGIS Online for the past couple of hours, but have not been able to figure it out. It works perfectly fine on Google Earth but ArcGIS Online ...
0
votes
1answer
82 views

Edit KML lines in Illustrator or getting smooth curves

I have a problem, when I'm making my traces in an application like Google Earth, I can't make smooth curves, only straight line. So I thought maybe I should export the trace to Illustrator then ...
0
votes
1answer
106 views

Openlayers select feature in KML

I'm having trouble selecting a feature inside a KML, and wondering if this is even supported. as a pretty basic example i have: var vectorSource = new ol.source.Vector({ //url: 'https://...
0
votes
1answer
312 views

Merge different KMZ layers to a unique KMZ file, a bash script

I have different .kmz files, each one contains a .png and a .kml, let's say: a.kmz, b.kmz, c.kmz. I would like to use a bash script to obtain a unique .kmz file, let's say d.kmz, that contains all the ...
0
votes
2answers
139 views

Extracting non-spatial data from imported KML file using R?

I have a KML file which was created using Google's My Maps. The original file can be downloaded here: Google My Maps Using R, I can import this using the "readOGR" function of the rgdal library ...
0
votes
1answer
253 views

Change Leaflet Map Layer/Terrain Style

I'm going to show KML file using Leaflet's plugins named Omnivore KML (https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-kml/) I've read the tutorial, implement the source code, and it ...