Questions tagged [kml]
Keyhole Markup Language (KML) is an XML standard used for expressing geographic annotation and visualisations. The KML file format is used to display and annotate geographic data in Google Earth and other applications.
2,668
questions
0
votes
0
answers
16
views
Markers listener overwrites KML listener
I'm developing GIS-app in Kotlin using Google Maps API. There are some markers loaded from KML-files. Clicking on these markers - displays attributes information in a bottom sheet fragment.
kmlLayer....
0
votes
1
answer
25
views
Selecting GDAL driver for writing KML file from TIFF
I have some DEM data from USGS which I'm trying to write as a contour map to a KML file. I'm working with GDAL 3.4.1. , which I installed using Anaconda
$ gdal_contour Downloads/...
-1
votes
1
answer
19
views
How can I handle or correct shapefile coordinates that exceed valid latitude and longitude ranges? How do softwares like QGIS project invalid ones?
I am working on making a shapefile data parser and there are some shapefiles that when I upload to QGIS and GEE work perfectly fine but my parser says its invalid because the latitude and longitude ...
1
vote
1
answer
79
views
Why are the results different by Google Maps and Matplotlib?
I plotted a kml file using matplotlib and showed it on Google Maps, but the line is different. Can anyone tell me why? How can I plot it just like in Google Maps?
<?xml version="1.0" ...
-2
votes
1
answer
62
views
Importing KML into MySQL
I have this KML file to insert in a MySQL table:
<?xml version="1.0" encoding="utf-8" ?>
<kml
xmlns="http://www.opengis.net/kml/2.2">
<Document id="...
0
votes
1
answer
23
views
Is there a way to fix LineStrings cutting off on .kml files in Google Earth Pro?
I'm using the python library simplekml to make a .kml file that shows routes connecting airports with Points to show the airports and LineStrings to show possible flights. The generated .kml file ...
0
votes
0
answers
18
views
Trouble Parsing GeoJSON Map Layers from QGIS in Android App with Google Maps SDK: Alternative Solutions?"
I created a map in QGIS with 2 layers (polygons and lines) and exported them as GeoJSON files. My goal is to parse and display this custom map in an Android application. However, when attempting to ...
0
votes
0
answers
38
views
In Python, want to find all the placemarks in a kml file, but the list is returning empty
Trying to find all the placemarks in a kml file, so I can alter them. But findall doesnt find any.
def scan (filename):
from lxml import etree
tree = etree.parse(open(filename,encoding='utf-8')...
1
vote
0
answers
61
views
Changing Kmls polygons using Pykml
I'm attempting to modify the color and symbology of certain files located within a folder. To accomplish this, I'm utilizing a spreadsheet containing the KML names, colors, types, thicknesses, icons, ...
0
votes
0
answers
16
views
Keep UI Elements Open in Google Earth after kml file is refreshed (NetworkLink)
I would like to keep the UI elements that the user opens open even when the kml file is updated by the NetworkLink. e.g. when the user clicks on an area of the track the typical google earth popup ...
0
votes
0
answers
32
views
OsgEarth model clamped to terrain
Using OsgEarth 2.10 can a kml have the property "clamp to terrain" and therefore follow the height of the terrain?
osg::ref_ptr<osg::Node> kmlLowNode = kmlLowNode = osgEarth::Drivers::...
0
votes
0
answers
42
views
How do I remove the filename prefix in the attribute table of a kml file when exporting a kml file using sf package in R?
After exporting a layer from arc, I import into R using the sf library. I join some data to this object. I rename the fields of the object (called "shape"):
names(shape) <- c('...
0
votes
0
answers
34
views
Google Earth KML Placemark description not updating
I have an application that generates Google Earth KML files. It defines placemarks that are clickable. When clicked they display a description in a pop-up panel.
Up until recently this was working ...
1
vote
1
answer
78
views
How can I add this image to the map stretching over an extent specified in degrees?
I have a codepen at https://codepen.io/ericg_off/pen/gOqmpEE
While I would like to have made this code available as a working snippet, it exceeds those limits. The value of washb64 can be found in the ...
0
votes
1
answer
102
views
Why doesn't the OL KMZ example work with my file?
I need to view KMZ files with OpenLayers.
The KMZ I am working with is on GitHub.
The structure of the KMZ (zip) file is:
wash/
files/
wash-dc.png
wash-dc.kml
wash-dc.png is:
The ...