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.

0
votes
0answers
7 views

Create KML “animation” / time domain from separate KML files

I'm currently working on creating a weather map system with leaflet. I'm using grads to create KML files from NOAA/NCEP GFS data in grib2 format. Grads seems to be only able to write out one layer pro ...
0
votes
0answers
6 views

NullPointerException when using geotools org.geotools.xsd.PullParser? [duplicate]

I am using below code to parse a kml file. I am using geotools 21.0 and org.geotools.xsd.PullParser. I am getting a nullpointerexception on line SimpleFeature simpleFeature = (SimpleFeature) parser....
1
vote
2answers
40 views

QGIS layer export to KML limited to 2 fields

I'm successfully exporting my layer to KML using the Right click > Export > Save Features As.. window. I then check the 13 fields I want to export, and proceed without problem. But when I import this ...
3
votes
1answer
23 views

LayerToKML output doesn't render on Google Earth

For the last few weeks I've been making .kmz files using LayerToKML_Conversion with no problem. They open in Google Earth perfectly. Today, they suddenly stopped rendering at all. When I click the ....
0
votes
0answers
14 views

Locating existing route in kml format at another place? [closed]

I want to change an existing route in kml format and relocate it on another continent. Therefore I performed the following steps: copy and paste the coordinate string to a text editor -> I extracted ...
0
votes
2answers
48 views

How can I convert KMZ file to JSON?

I'm writing a ArcGIS JS project, in which user will upload KMZ which will be displayed on map, since ArcGIS doesn't have a magic trick to do it, I want to convert KMZ to JSON (or KML) and then display ...
0
votes
1answer
30 views

Controlling order KML Polygons are drawn using Google Maps API?

I am creating an application that allows users to turn on and off KML layers: The KML layers are hosted on ArcGIS Online, and I'm bringing them into the application by creating a new KML Layer ...
0
votes
0answers
36 views

Creating KML file with QGIS?

I am not a QGIS expert. I have to create a kml file to be used as a boundary. I started using qgis with two different shapefiles that feature I separated the polygons of the two shapefiles. I ...
1
vote
0answers
34 views

KML title and description to generate lettered legend on map

Let's say I've exported a KML (from My Google Maps) with a list of waypoints like: <Placemark> <name>Bachledzki Wierch 8a</name> <description>tel: , 606 426 336</...
1
vote
0answers
28 views

Global Mapper (improving KMZ quality):“raster_export-KMZ” batch script creates a poor quality .kmz compared to the “raster export - KMZ” manual comm

I'm sure it's something I'm missing... In Global Mapper (GM) I've got my workspace loaded.. and I run a script that does nothing more than "EXPORT_RASTER" to KMZ. The orgin rasters loaded in GM will ...
3
votes
1answer
55 views

Open many KML files in QGIS?

I want to open hundreds of KML files in QGIS. And it keeps showing this window. It's troublesome to set importing choices for every layer for hundreds of times. Is there any other more convenient ...
0
votes
1answer
13 views

KML file problem with Google Docs

I can't make this work. I have a JavaScript program that should upload a KML and it does not work. Uploading the same KML manually in Google Maps works perfectly <!DOCTYPE html> <html> &...
2
votes
2answers
50 views

Hiding placemark name and making it appear when hovering over it on Google Earth?

I would like to remove the placemark names on the Google Earth Map and make them appear when I hover over the icon with the mouse. I tried to set the LabelStyle scale to 0 but it actually does the ...
0
votes
2answers
27 views

Regions for Google Earth 3D Buildings

I'm trying to find a way of creating regions for 3D models. It seems simple enough but there doesn't appear to be any examples of KML anywhere. The closest I've found is in the Keyhole Markup Language ...
0
votes
1answer
36 views

Importing elevation data into prexisting KML in Google Earth Pro?

I am working on a project where I need the z value (elevation) of a set of data points. Is there a way to assign elevation data to a KML in Google Earth without doing it manually for each point? I ...
0
votes
0answers
31 views

Rendering KML file on QGIS with original resolution?

I am trying to upload to QGIS a KML raster file that was previously generated with Google Earth Pro. It uploads, yes, but with low resolution. How can I make QGIS render such files with the original ...
3
votes
2answers
61 views

Extracting desired values from KML file using QGIS?

I have a kml file of roads that I would like to convert into a shapefile using QGIS, I understand that this should be a straightforward task however I am running into the issue of extracting necessary ...
0
votes
0answers
10 views

Creating shapefile with features in GISPro?

We cannot figure out how to create a shapefile that contains the features seen within the app GISPro (by Garafa) on an iPad. I have been able to export a shapefile, but there are no features attached ...
0
votes
1answer
49 views

Reading TIFF layer from KML in ArcGIS or R [closed]

I would extract a TIFF layer from a KML file for raster analysis. The data are available here (see link below interactive map). I have unzipped the KMZ to KML. I have followed some previous Q&...
0
votes
0answers
20 views

Creating and saving OpenStreetMap locations within GeoJSON file?

I am not experienced in working with OpenStreetMap, but I am wanting to collect points. All points that the user collects will be saved inside a GeoJSON file, however whenever I use this, the file is ...
2
votes
0answers
63 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
11 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
54 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
49 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
265 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
34 views

KML parser in GeoTools won't parse TimeStamp

.... <Folder> <name>FooName</name> <Placemark id="3"> <description><![CDATA[ Foo HTML stuff ]]></description> <TimeStamp> ...
1
vote
1answer
80 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
21 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
13 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
16 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
84 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
44 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
85 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
19 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
57 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
104 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
94 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
64 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
78 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
89 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
67 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
51 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
68 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
399 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
648 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
79 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
86 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
60 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
112 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
63 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 ...