Questions tagged [kml]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

GDAL cannot read KML file that it just created

I'm using GDAL 2.2 standard C library within a Swift wrapper in an iOS app. After creating a KML data source and populating it with data, GDAL is unable to open the KML file that it just created. ...
1
vote
1answer
39 views

Loading large KMLs for trip planning

I am a developer, but the current context of the question is as a user: I don't want to spend time setting up OpenLayers server, writing code etc. for what I want to do. Now, what I am trying to do: I ...
0
votes
0answers
26 views

Re Exporting complete data from Google Earth to QGIS

I am trying to export Google Earth searches as a KML file to QGIS. How come all existing locations of a search (e.g. Walmart) in the United States only shows select locations. I'm doing a project on ...
0
votes
0answers
23 views

Exporting data from Google Earth to QGIS [duplicate]

I am trying to export Google Earth searches as a kml file to QGIS. How come all existing locations of a search (e.g. Walmart) in the United States only shows select locations. I'm doing a project on ...
0
votes
1answer
35 views

Reading KML Simple Data to a popup in Open Layers

I have created a pop up for markers read from a KML file, however The KML file data is not being read and I assume due to it being in a <SimpleData> tag and in a <name> tag How would I be ...
0
votes
2answers
34 views

How to name a lot of point of a KML file?

I have a KML file with 5400 points with no name. I would like to name each point. My idea was to convert this KML file to CSV to rename quickly them and to convert back this CSV to KML, but I don't ...
0
votes
0answers
5 views

KML layer missing metadata in ArcGIS Pro

Using ArcGIS Pro 2.7 I created a KML file from a raster with the Layer to KML tool in ArcGIS Pro. The KML layer does not show any metadata description in the Catalog View. The input raster was created ...
1
vote
1answer
32 views

ArcGIS layer to KML Python script gives TypeError: can only concatenate tuple (not “str”) to tuple

I have some shapefiles to convert into KML file with a specific legend icon. So I tried to rearrange symbology and convert those shapefiles into .lyr files. After that, I put those files into a folder ...
0
votes
0answers
44 views

LiDAR download - ASC file to QGIS - Rasterize ->Extract -> COntour - Export to Google Earth Pro

I am trying to create a 50cm contour map using QGIS and then export it as KML to Google Earth Pro. When I get to Earth and import the KML file I am left with random red lines around the globe. The ...
1
vote
1answer
42 views

QGIS export to KML failed

I don't know what's going on. My project CRS and layer CRS are fine, although if I export them to the KML file, I have something weird in my Google Earth. I tried also to export to Shapefile and add ...
0
votes
0answers
11 views

GDAL transform DTED to contour KML : gdal_contour coordinates are swapped in KML file

Using GDAL 3.1.3 (installed using Anaconda) command line tools, I'm trying to convert a DTED file to KML contours. gdal_contour -f KML -i 250 e068n36.dt1 e068n36.kml However, the KML file is wrong ...
0
votes
0answers
22 views

KML raster not showing images when using another users machine

I have converted some geotiff's into raster KML file packages, (which consist of a KML file and two folders - images and files). I have created these KML's as superoverlay KML files. I am able to ...
0
votes
0answers
50 views

Extracting GPX / KML routes from embedded Google Map

I want to extract the route data that is shown below to a GPX or KML file. Being that this map is programmatically created and not a "Google My Maps" type of embedded map, is there a way to ...
0
votes
1answer
33 views

Creating a dynamic KML using a websites API with Python

I'm trying to create a KML that will dynamically update using an API call in python based off where the user is currently looking. I've tried to include as much commented work as possible for what I'...
4
votes
1answer
64 views

MMQGIS export shapefile to KML not working, error message: 'Unknown geometry type 0'. But Point data being used?

I'm trying to convert a shapefile (created from a CSV) to a KML using the MMQGIS Plugin (as I want to show styling by attributes on Google Earth.) However, when clicking 'apply' it says 'Unknown ...
1
vote
1answer
29 views

QGIS 3 wrong conversion from QGIS layer to KML or GeoJSON file

I want to save my work as the .kml file Unfortunately, I've encountered a serious problem. Once loaded in Google Earth I have something like below or nothing. A similar thing occurs with the geoJSON ...
0
votes
0answers
19 views

Opening KML Network Link in QGIS [duplicate]

How can I open a KML Network Link in QGIS? I have googled this question and searched for similar questions on Stack Exchange. I am not asking how to open a KMZ in QGIS. I don't see any references to ...
0
votes
1answer
26 views

Layer to KML design

I would like to understand the logic behind layer to KML. I want to know how to ensure the field I want goes in the dark blue banner. It seems kind of random to me. It is not always the first column ...
1
vote
3answers
61 views

Why can't QGIS 3.16 & KML Tools export point symbology for KML/KMZ

I am trying to export styled points from QGIS to KML/KMZ format. The points are styled according to an attribute value ("Subsidence"). I want to export the KML/KMZ with the symbology, but ...
1
vote
0answers
30 views

KML does not open correctly in QGIS

I have a KML file that I'm trying to open on QGIS. However, when I add them in QGIS I obtain a raster and a polygon but the raster do not fit in the polygon. I guess the polygon contain geovalue while ...
0
votes
0answers
29 views

Adding legend to KML file uploaded to ArcGIS Online

I am using ArcGIS desktop 10.7 and I have a free ArcGIS Online account. I converted a raster to KML file in order to be able to add the raster image to the ArcGIS online account. (I used the layer to ...
0
votes
0answers
20 views

What is the purpose of the KML XMLNS in a KML's source?

I am looking over some KML documents source code and have noticed a difference in some of them. Some have: kml xmlns="http://earth.google.com/kml/2.1"> and others: kml xmlns="http:...
0
votes
0answers
27 views

Error using GDAL to clip raster to KML (CRS is same for both): Cutline not of polygon type

I have a high-resolution, 4-band (RGBA) geo-tiff (22.26 Gb) with an image of an airport. I have a KML file that has a polygon for a runway. I used Google Earth to construct the KML. Both files use the ...
0
votes
0answers
9 views

Is it possible to prevent Google Earth to set 3D buildings ON with a KML tag on the file that I'm opening?

I often generate a KMZ file with an overlay that, in Google Earth, appears like this: The cut on the raster image are caused by this setting on Google Earth: I wonder if there is a way to prevent/...
0
votes
0answers
22 views

How can I keep the original name of the .kml file in the layer panel?

I have a folder with many .kml files. Example: John.kml Jessica.kml Donald.kml When I add them to QGIS, the names shown in the layer panel changes Example: John.123.kml Jessica jess.kml Donald_ert....
0
votes
0answers
91 views

V.Clean is not giving output In QGIS 3.14 Pi

I was trying to clean by removing sliver lines between set of polygons in my KML file. But unfortunately I am getting following error: QGIS version: 3.14.15-Pi QGIS code revision: d5114d2cfa Qt ...
0
votes
1answer
51 views

Extract polygon information from KML file to a data frame of postal codes, latitude, longitude

I have KML file from downloaded https://data.gov.sg/dataset/electoral-boundary_2020. As you can see on the website, there are 31 sub-polygons and each of them has a label. I have loaded the KML on R. ...
2
votes
2answers
63 views

Saving shapefile layer as KML with datasourceOptions using PyQGIS

I'm trying to export a shapefile layer to KML format in QGIS , trough Python coding. The code is: QgsVectorFileWriter.writeAsVectorFormat(inputlayer, outputlayer, "utf-8", coord_system, &...
1
vote
0answers
25 views

Adding spreadsheet information to KML

I have a KML from Indy Neighborhoods ArcGIS. I have the results of a factor analysis based on neighborhood traits from savi.org. From this, I did a clustering. I would like to combine the contents of ...
1
vote
1answer
102 views

Return empty dataframe when reading KML file of 'Sentinel 1 Acquisition Segments' using GeoPandas

I have downloaded the KML file of 'Sentinel 1 Acquisition Segments' from this url. I have written this code to read KML file into GeoDataFrame, but the code returns empty GeoDataFrame. >>>...
0
votes
0answers
39 views

OGR2OGR: Failed to reproject feature

So I have the following command line that runs in my php code First: I rename the layer_name with the id of the user who uploads his shp file, and save it with the kml extension ogr2ogr -f KML ...
0
votes
0answers
20 views

How to use KML as an ee.Geometry

I'm using Google Earth Engine through the Python API and I would like to define my boundary area for the processing on the basis of a kml file I have. The kml basically describes the boundaries of a ...
1
vote
0answers
114 views

GDAL Python Function to convert vector files from shapefile to KML

I want to convert a shapefile with polygon to KML file using GDAL Python. For this I created a fuction with two arguments (input and output) and it works, but points in polygon are switched (X in KML ...
0
votes
0answers
10 views

Assigning names to features when exporting to KML in Google Earth Engine

I'm working in Google Earth Engine using Javascript api and I'm exporting my feature collection as a KML file to open in Google Earth Pro. One of the properties of each feature is its station_id. ...
0
votes
1answer
23 views

Convert NIFC GeoJSON daily data to KML file using GeoTools

I am not able to convert the daily NIFC GeoJSON data into KML file using GeoTools lib. I am pretty new to GIS data. Sample GeoJSON data : https://opendata.arcgis.com/datasets/...
1
vote
0answers
35 views

Convert Google Maps KML to preferred format on a Hyundai Ioniq EV's BlueLink Map

I want to upload data for all Eduroam WiFi locations in Canada to my car navigation system which has an "Import Address Book from USB device" option. I downloaded the current locations I ...
0
votes
0answers
23 views

Can I add KML to a georeferenced PDF and retain georeferencing?

I would like to be able to take a KML file and combine it with a georeferenced PDF so that the KML data shows on top of the georeferenced PDF map within the PDF file. I have read that i can add .shp ...
0
votes
0answers
29 views

Saving a file consisting of two layers

I have a geopandas dataframes (A) and (B). I wanted to save them into disk using a same file but with two different layers. I knew to save one dataframe as follows: A.to_file('out.kml', layer='A', ...
0
votes
0answers
27 views

When converting a layer to a KML file, the Name field is not being used for the pop-up title in Google Earth

I'm using Arc Map 10.7 to create a KML that shows point data representing milepoints along a bunch of roadways. I want the pop-up when you click one of those points to display the milepoint number as ...
2
votes
0answers
31 views

Save point KML with ogr2ogr

So I have a KML file (it contains a point): <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/kml/2.1"> <Folder> <...
0
votes
0answers
29 views

QGIS export circle to KML then import to Google Map

I am using QGIS version 3.14.0-Pi. In QGIS, I display Google Map, with the XYZ tiles. In QGIS, on a Project using EPSG:4326, when I draw a circle, this circle is a real circle (not an ellipse). Then, ...
0
votes
1answer
102 views

Leaflet kmz stops loading other kmz files if gets XHR 404 while fetching remote file in any one of kmz's

Referring to https://github.com/Raruto/leaflet-kmz Here is my leafllet kmz code: <script> var map = L.map('map', { preferCanvas: true // recommended when loading large layers. }); map....
0
votes
0answers
123 views

Convert KML files to vector tiles or images and show them on open street map

I am using Leaflet KML plugin as below: https://github.com/windycom/leaflet-kml Here is full code: <html> <head> <meta name="viewport" content="width=device-width, ...
2
votes
1answer
42 views

ogr2ogr error loading kml file in postgis with php

So I have a kml file that I want to save to my postgis database, Currently I have the following code using php: $file = $request->file("item"); $name = time(); ...
1
vote
0answers
57 views

Adding the image file to KML file using simplekml

I have made simple tool to convert CSV file containing latitude and logitude to KML file. Adding the image using the relative path is can be done easily for each location using following code: pnt....
0
votes
0answers
26 views

Trying execute lyr to kml conversion on a loop ArcPy - Only the first one works ok

I have a few folders, and inside each folder i have a few shapefiles. My task is duplicate these folder hierarchy, converting the shapefiles to kml. But only the first kml generated works ok. All the ...
0
votes
0answers
60 views

Exporting grid vector from QGIS to KML gives wrong coordinates

A grid vector was created over the map layer (EPSG:32636) and saved as with CSR EPSG:32636. Then when I export it as KML, it the grid appears in a different country (Congo rather than Lebanon). I ...
0
votes
1answer
43 views

Paths not matching on map, while they do in Illustrator

I'm quite a newcomer when it comes to map data. I have an Illustrator map, drawn by myself, with different polygons (regions, country, ...). In Illustrator I know 100% that the region and country line ...
0
votes
1answer
51 views

Exporting to KML file with specifying some symbology (icon styles)

I created a plugin which allows to export layers from QGIS to KML files, and I want to specify the type of icon of the points in Google Earth. Some one can tell me if there is a way to do that with ...
1
vote
1answer
49 views

Processing several KML files in different folders using QGIS

I currently search for a way to load different KML files into one project. The thing is, that there are several KML files in the folders, which need to be displayed on an OpenStreetMap layer. I have ...

1
2 3 4 5
23