Questions tagged [kml]
KML is an XML file format used to display and annotate geographic data, made popular by Google Earth.
1,174
questions
1
vote
0
answers
16
views
String splits on KML conversion
I am opening this file with Google Earth and I am supposed to to do a bunch of string splits on the KML conversion since it saves the folder structure in the “PATH” field iirc. How can I do this?
Here ...
2
votes
0
answers
16
views
How to export KML file without having layer name in front of field name in QGIS
I output the KML file from shape file (line). It's include the description of the distance of line. When I output to KML, it showed the layer name in front of Field name (e.g- 11:Descriptio - 648.38 ==...
0
votes
0
answers
52
views
I cannot get a KML or WMS file to open in QGIS
Trying to open up a KML or WMS file from the following website in QGIS: http://maproom.meteorwanda.gov.rw/maproom/Climatology/Climate_Analysis/Seasonal_Trend.html?region=bb%3A29.71875%3A-2.56875%3A29....
0
votes
2
answers
43
views
Change KMZ embedded symbols in R
EDIT: This question was originally posed for QGIS. However, since I found a way to solve it in R, the title and tags have been changed accordingly.
I have got a Google Earth KMZ file with points. The ...
0
votes
0
answers
21
views
ArcGIS Pro Map/Layer to KML Error
I'm on ArcGIS Pro 2.9.3 and I'm running into an error when trying to open exported KMZ files in Google Earth. I'm getting the mismatched tag parse error, and when I investigated I found that the ...
0
votes
1
answer
30
views
Split KML Polygon in two polygons
I have a country borderline KML polygon (one polygon), I would like to split in in two regions (two polygons).
Let's say, we have Germany borders in KML, and I would like to split it in East and West ...
0
votes
0
answers
27
views
Generating multi colour raster from KML file using gdal_rasterize
My goal:
I am trying to show multiple large KML files (each file > 15 MB) on Google Maps via Google Maps Javascript API. Google Maps doesn't allow large (>10MB) KML files, so I took different ...
0
votes
0
answers
32
views
Maximum KML file size to be allowed to convert to GeoJSON using Python kml2geojson library
I tried converting KML to GeoJSON using the kml2geojson Python library, and it works with less sized files like 10MB, 15MB,.. but it is not working with 45MB KML files..
import kml2geojson
kml2geojson....
1
vote
1
answer
38
views
Change layer popup style of KML served by GeoServer WMS service?
I need to change the style of the popup page in the KML (network) file sent by the WMS server. I looked at the GeoServer documents for this, but I couldn't find a .ftl file on my Linux server. There ...
0
votes
1
answer
59
views
How to add KML file to PostgreSQL as polygon in nodejs
I have a nodejs server which is connected to PostgreSQL database. I need to create a polygon by using coordinates JSON with fields. In the PostgreSQL database there is a default column as "geom&...
1
vote
0
answers
40
views
How to extract out data from an embedded google maps?
Is there a way to extract out the data from this embedded google maps?
https://hinkleyconnection.co.uk/map-and-timeline/
1
vote
1
answer
52
views
Download coordinate file from a map-based website [closed]
I want ask is it possible for me to download the location detail (coordinate and location's name) of a map-based website?
I'm trying to get all the ports name and location from one of these websites
...
1
vote
0
answers
55
views
How to get a valid .kml file from database URLs?
I am quite new to GIS. I stumbled upon a problem for which it seems excessive to first study code and manuals for some weeks before I can solve it.
There is a map from an online database which I want ...
0
votes
0
answers
31
views
Reducing the number of coordinate decimal places when converting .TAB to .KML
I'm converting a series of files (each one depicting cellular coverage in a whole country) from .TAB to .KML. using QGIS 3.22.2-Białowieża.
Once converted, a little Java program finds if a specific ...
1
vote
1
answer
187
views
Creating buffer spaces in meters around LineString line in KML using Python
Any suggestions to create buffer spaces on KML LineString using Python? I tried with few libraries..
geojson
shapely
kml2geojson
Here, converted KML to GeoJSON and added buffer space on the ...
0
votes
1
answer
24
views
Trying to achieve desired output of KML in R as seen in GIS software. Not sure what the problem is
library(sf)
library(tidyverse)
library(maps)
world_map_data <- ne_countries(scale = "medium", returnclass = "sf")
state_map_data <- map('state', fill = TRUE, plot = FALSE) %&...
0
votes
0
answers
16
views
Using the MyMaps URL to export only a specifc layer, not the whole map
I found this link below which explains exactly what I'm trying to do, generate a KML file using the URL, as explained in the first reply to the OP question.
https://www.google.com/maps/d/u/0/kml?mid={...
0
votes
1
answer
22
views
KML with Gauß-Krüger-Koordinatensystem
I need an kml example with https://de.wikipedia.org/wiki/Gau%C3%9F-Kr%C3%BCger-Koordinatensystem coordinates.
Could you help me?
0
votes
1
answer
39
views
Add markers from .kml file to an mbtiles map
I have an offline map GoogleSatellite.mbtiles.
and a .kml file with thousands of points..
How can I combine the two files into ONE single .mbtiles file?
Is there any utility that can do this?
1
vote
0
answers
54
views
Converting .GXT coordinates to .KML (Google Earth) coordinates
I have a .gxt file that I need to convert to .kml. This is what .gxt file looks like inside:
[FormatInfo]
format_ver=2
[GeoMain]
ntc_id=1
adm=G
sat_name=APSTAR-6D
long_nom=134.00
n_diag=1
[COHeader]
...
1
vote
0
answers
22
views
How do I control exporting a shapefile to KML by a specific attribute?
I am working in QGIS with a very large file - over 10,000 records, sorted into 1100+ groupings. It needs to be exported to KML and display in Google Earth - I'm using MMGIS to do this. I would like it ...
1
vote
0
answers
64
views
Convert KML to shapefile using GDAL/OGR2OGR to include all attributes from description field
I'm currently trying to develop a workflow for converting KML to shapefile using OGR2OGR command within GDAL. The conversion seems to work fine for some KMLs that have basic information included ...
1
vote
0
answers
25
views
Importing KMLs to a geodatabase in ArcGIS Pro ModelBuilder
I've got a folder into which people will dump KML files, and a need to import them into a Feature Class (or more rather, three feature classes eventually - one for points, one for lines, one for ...
0
votes
1
answer
53
views
KML File - Python - Log Query
I want to know how many records are there in a KML file. Through what Python 2 code can I know this information?
0
votes
0
answers
88
views
How to include LookAt tag from KML to geopandas
I am trying to include the LookAt tags from a KML file in a geopandas Dataframe. Is there a way to include this info when reading a KML file?
import geopandas as gpd
# enable KML support
import ...
1
vote
1
answer
47
views
Converting KML to shapefile using ArcPy
I am trying to transform a kml to shapefile via ArcPy with the following code:
import arcpy
# Variables KML to Shapefile:
KML = r"C:\Test\Polygons.kml"
Output_Location = r"C:\Test"...
0
votes
1
answer
137
views
Can GDAL georeference a (KML) ground overlay?
I'm using GDAL to georeference an image, but can't seem to find the
information that I need.
In the sample code below the upper left (ul) and lower right (lr)
corner coordinates denote not the corners ...
1
vote
1
answer
83
views
Validate KML geometries in python
I have a CSV file where in a column there are some KML geometries.
These geometries can be points, lines, polygons etc. I would like to validate them and check if they are correctly written.
I'm ...
-1
votes
1
answer
94
views
Viewing KML/KMZ file within web browser
We work with people that need to view large KML files, but they cannot install Google Earth or any other desktop software. We have tried using earth.google.com, but it does not handle all of the ...
0
votes
0
answers
67
views
KMZ Polygon not lining up over ArcGIS Pro Basemap
I have a KMZ file that contains one Polygon drawn around an airport's runway. I used Google Earth to draw the Polygon and the polygon lines up around the runway (see image below).
But when I tried to ...
2
votes
0
answers
39
views
How can I prevent KML files from losing resolution when exporting them to an iPad?
I have created a KML from a polygon in ArcMap. The KML is the same in Google Earth as it is in ArcMap. When I load the KML onto my iPad, it loses resolution; it no longer has the level of detail it ...
0
votes
0
answers
35
views
How can I prevent KML files from losing resolution when exporting them to other programs? [duplicate]
I have created a KML from a polygon in GIS. The KML is the same in Google Earth as it is in ArcMap. When I load the KML onto my iPad using the app GIS Pro, it loses resolution; it no longer has the ...
1
vote
4
answers
368
views
What is format for coordinates of polygon in KML?
I have a KML file with a polygon as shown below:
<Polygon>
<tessellate>1</tessellate>
<outerBoundaryIs>
<LinearRing>
<coordinates>
...
1
vote
1
answer
152
views
KML File - Placemark Point - only the name, no icon
I have generated a KML file (see below). My question is: how do I add definitions etc. in the file in order to remove the icons? I only want to display the name, for example A, B etc. I know this can ...
0
votes
1
answer
134
views
QGIS Export to KML with image file
I have a layer in QGIS, points, 3 columns of data and a 4th is an image. When I export to .kml (client request) it loads fine in Google Earth and shows all the points, but when I click on a point I ...
0
votes
1
answer
68
views
Importing TimeStamp data from KML into GeoPandas DataFrame
I have a KML file that I have converted from Garmin .FIT to KML via GPSBabel. The resulting KML file looks to be fine. Example (Note: I have changed co-ordinate values so they don't point anywhere ...
1
vote
0
answers
77
views
QGIS: Exporting as KML with split vector layer retains all attribute and filepath information visible in Google Earth
I am trying to export features to a KML file so field technicians can view the data via Google Earth since not everyone can operate QGIS and its a bit more user friendly when they just need to be able ...
1
vote
1
answer
156
views
How to share KML-edited Google Earth project?
I began a Google Earth project on the their web app (https://earth.google.com/web/). I drew a polygon, and I got frustrated with the slowness and inaccuracy of the web interface. So I downloaded the ...
2
votes
0
answers
138
views
QGIS - export multiple layers with different geometry to one KML file
I would like to export a few layers from QGIS to KML. So far I've managed to export it to the Geopackage format, but now I have to convert it.
Is there any option, which would allow me to select as ...
0
votes
0
answers
45
views
Terrasync detects positions incompatible with current coordinate system. Data was transferred from KML
Basically, I need to get a simple parcel boundary onto a handheld Trimble GPS with TerraSync software. I'll attempt to outline my workflow thus far.
Georeferenced image from parcel map in ArcMap and ...
2
votes
1
answer
157
views
How to view large data in Google Earth Pro?
I have a dataset with 32,000 location points and I need to view all the points in Google Earth Pro (v. 7.3.4.8248; 64-bit) at the same time. I have tried exporting my data (from R) as a KML and as a ...
0
votes
0
answers
20
views
Where does the GeoServer KML Reflector get its LookAt value?
I've had a lot of success pulling a KML Network Link from GeoServer 2.19.x and 2.20.x using the KML Reflector, but one common user annoyance has been the bogus LookAt value populated at the top level ...
1
vote
0
answers
90
views
gdal_translate of KMLSUPEROVERLAY issues making nodata transparent
I'm trying to use gdal to make a superoverlay KML / KMZ from a single band .tif (GTiff / GeoTIFF) which I created in ArcGIS. I want the nodata region to be transparent, but it has been showing up as ...
0
votes
1
answer
59
views
OpenLayers: Export from / Import to KML - keeping the layer structure
I have following structure before export:
LayerGroup
LayerGroup
Layer
Feature
Is there any posibility to keep this structure when export/import KML?
I noticed in the KML file after I export ...
0
votes
0
answers
36
views
After converting ArcMap shapefiles to KML files Google Earth display labels wrong
I've been using Google Earth to display my data for many years, but the past few months I have noticed reoccurring problems.
I set up my table to display certain columns, select the correct labels. ...
0
votes
1
answer
80
views
Google Earth: is there a way to create a KML with scale-dependent visibility?
I have a KML file of a number of polygon features. However, I would only like them to be visible above a certain distance from the ground when viewing in Google Earth, so effectively setting scale-...
1
vote
0
answers
122
views
Loading KML file in Google Earth that is too heavy to be opened directly: Is possible to be made a local KML or HTML file that emulates a WMS link?
I am trying to download a public layer because I have too many internet problems where I live now.
I was previously working with this layer named "SEC_DistroTM" on Google Earth through an &...
1
vote
1
answer
147
views
Attributes disappears from KMZ-file when imported in QGIS
I have a KMZ-file with polygons that I want to edit in QGIS. When I open it in Google Earth it has some attributes, when I open it in QGIS the attributes disappears or look different. How do I get the ...
0
votes
1
answer
31
views
How to export a grid layer to google earth as boxes
I have a grid made using MMQGIS which I want to label box-wise (custom and non-consecutively) and export to kml to use in Google Earth using the same labelled boxes. If I export kml normally I get ...
1
vote
1
answer
102
views
Add text information from Chrome HTML Document (.htm) to image in popup with freemarker?
I have created a popup that opens up the attribute table and a jpg-image. I want to add a descriptive text that I have placed in Geoservers http://localhost:8080/geoserver/www/.
The text is in form of ...