Skip to main content

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
0 answers
19 views

Obtain KML/KMZ route following train tracks?

I'm making some route animations where I animate a path from point A to point B on a map. So far, I've been animating driving routes that follow roads, and my workflow is the following: Use Google ...
Bernard's user avatar
  • 101
0 votes
1 answer
30 views

Opening more than one KML in a single Google Earth instance from the Linux command line

I’m trying to display the motion of an object in Google Earth. I get live [Lat, Lon, Alt] information. I have a C++ program that polls it, and automatically appends the information as a Placemark ...
barak's user avatar
  • 3
0 votes
0 answers
44 views

Error saving KML as shapefile using QGIS

I have imported a .kml as vector, worked on that and saved after some addition in the data. The error message received is: Export to vector file failed. Error: Creation of layer failed (OGR error: ...
AbuYahya's user avatar
1 vote
0 answers
26 views

Exporting polygon layer to KML retain same color

There are two situations, first, I export layers which has yellow polygon contour to KML, but it saved as red (ff0000ff). Second, I combine two layers which is made by red polygon and yellow polygon ...
Leon's user avatar
  • 31
0 votes
1 answer
107 views

Import Google Map into QGIS?

How do I import custom Google Maps (such as these: of the saints in Rome or in Italy) into QGIS?
Geremia's user avatar
  • 210
0 votes
0 answers
47 views

How to draw KML LineString with icons at each point

I'm trying to figure out how to draw a line in KML with some sort of indicators at each point in the line. For an overly simplified example, say someone is hiking and they periodically record their ...
KBRSean's user avatar
1 vote
1 answer
55 views

Join KML with CSV and conduct Interpolation

I have a KML file created in Google Earth that has points where we sampled 11 monitoring wells (my work uses Google Earth Pro and I'm trying to introduce QGIS). I have a CSV that has the contamination ...
BiosphereEngineering's user avatar
0 votes
1 answer
46 views

How to fix islands being offset from map, boundary comes from KML file uploaded to a site

I'm having a problem where islands (uploaded as part of a KML file) don't match up to the location of the island on the map when I upload them to a particular site (iNaturalist). It affects whether ...
RukiyaMeria's user avatar
1 vote
0 answers
34 views

QGIS 3.34 - How to show correct image width/zoom in KML multiple raster background image

I'm trying to import in QGIS a KML file with multiple background tile images (all georeferenced) into a grid. The images are located in a separate folder and inside the layer data there's a field with ...
Dret's user avatar
  • 11
0 votes
1 answer
29 views

Draw KML Extent Given an XML in ArcGIS JS SDK

I have a link that will return an HTML with the plain text of an XML. An example is below. <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/...
mendesd's user avatar
  • 35
1 vote
1 answer
37 views

Updating date in KMLLayers URL in ArcGIS JS SDK

I have a group layer in an ArcGIS JS project. In the group layer there are 21 separate KML layers. Each KML layer has a URL where the date is defined in that URL like such below. url: "https://.....
mendesd's user avatar
  • 35
2 votes
1 answer
128 views

Is this KML file measured in degrees?

I'm working with a KML layer in QGIS. Here is the file: The KML file: <?xml version="1.0" encoding="utf-8" ?> <kml xmlns="http://www.opengis.net/kml/2.2"> <...
user1592380's user avatar
0 votes
0 answers
18 views

KML to SHP - Script error 000840: The value is not a feature layer when I add FeatureClasstoShapefile tool to script

I want to do is to convert KML files to shapefiles and I haven't seem to be able to find a straight forward script anywhere. Eventually, I would like to turn this into a script tool to use personally, ...
Ally's user avatar
  • 1
0 votes
0 answers
48 views

See and edit the contents of a KML file within QGIS

When I open a KML file in VS Code or vim I see: <?xml version="1.0" encoding="utf-8" ?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document id="...
user1592380's user avatar
0 votes
1 answer
78 views

Adding uploaded polygon measurement style to KML file polygons

Following up on QGIS: multiple map measurements I want to use a style to convert a kml layer to have measurements on all size, kind of like: I'm using QGIS 3.28 LTE. I started by downloading the ...
user1592380's user avatar
0 votes
1 answer
96 views

How to save KML layer as an SVG file using QGIS

I'm working with QGIS 3.28 LTE. I want to save a KML layer as an SVG file for manipulation with Inkscape. How would I do this? I can't find the option under the layer Menu.
user1592380's user avatar
2 votes
3 answers
618 views

Convert .kml file from Google Earth to text file

I digitized an area using Google Earth and saved it into a .kml file. I want to convert this .kml file from Google Earth into a text file, in point form containing tab-delimited x and y values. I don'...
Fairul lah's user avatar
0 votes
1 answer
66 views

KML file polygon rendering weirdly in Google Earth

I'm trying to write KML that displays a polygon with the north point at the north pole, the south point at the south pole, and the east and west points on the equator with 15° longitude separation. I ...
SteveJonesMO's user avatar
1 vote
0 answers
93 views

Labels not converting properly from SHP to KML [closed]

Since the last ArcGIS Pro Update (running 3.2.1), when I convert an SHP to KML, the labels are not populating correctly. I have everything set up correctly with the pop ups, the title, and the labels. ...
Danielle's user avatar
3 votes
2 answers
158 views

Create layer from CSV with a bunch of KML polygons

I have a CSV with 3 fields Id,Name,KML polygon. I want to create layers from this polygons in QGIS. I've tried to add delimeter text layer with geometry definition as WKT or without any geometry ...
Artem Sh's user avatar
0 votes
0 answers
34 views

Link a URL to a position in QField

I'm looking for a way to link a PDF file in my OneDrive to a position that comes from a KML file. I've already managed to do this on QGIS but once the project is transferred to QField it doesn't work. ...
James's user avatar
  • 1
0 votes
0 answers
92 views

QField primary key error: Help with setting a primary key for a KML imported as a Vector Layer

I have a KML file (Generated in google earth), which I would like to import into QGIS and display in QField. I have Layer -> Add Layer -> (File+automatic) and my KML. (No problems to this point)....
Martin D's user avatar
0 votes
0 answers
156 views

Downloading polygons from Wikimapia

Is there any way to download a polygon from Wikimapia? There's several I created a few years ago and would like to import to Google Earth as .kml. Most of the answers supplied direct to broken links ...
Legerdehmayn's user avatar
0 votes
0 answers
33 views

How to merge two KML files of different sizes (one is continent scale and other is small catchment) and then convert it to shapefile

I am using geological map of South America (source: https://www2.sgc.gov.co/MGC/Paginas/gmsa_google_earth.aspx) to extract the geological map for a small catchment. Initially I converted the KMZ file ...
Hydra's user avatar
  • 11
0 votes
0 answers
91 views

Fiona Throws Error Null layer: ''

I have a file Mapp.kml (1 of 5). I am trying to read this file into Python through Fiona. I keep getting an error ValueError: Null layer: '' Things I have tried: polygon_1 = gpd.read_file('../MAPP....
Kinshuk Singh's user avatar
0 votes
0 answers
87 views

Loading shapefiles, GeoJSON, KML and GPX giving properties only for shapefiles in Leaflet

The following code allows for loading local shapefiles, GeoJSON, KML and GPX, but items properties are not the same. Only shapefiles will return its properties with a bindpopup of global properties. //...
Vincent Dc's user avatar
1 vote
0 answers
167 views

GDAL to convert GML to KML

I have a GML file and it has a code structure as follows. When I convert it to KML via GDAL, it does not read the coordinates. When I delete negative values, it reads but only one position appears. ...
SelimSezer's user avatar
0 votes
0 answers
28 views

KML: How to draw a border/outline for a Icon in GroundOverlay

I want to add a red color border/outline to . How can I achieve it. Working with QGIS <kml> <Document> <name>GeoTIFF Overlays</name> <GroundOverlay> ...
Atishay Jain's user avatar
1 vote
1 answer
321 views

Convert KML to GeoTIFF with Python (osgeo.gdal)

I have a KML file provided by a user that looks like: <?xml version="1.0" encoding="utf-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://...
jclark754's user avatar
  • 111
0 votes
0 answers
74 views

Export a track from QField as a .kml (from your device, for use on your device)

I am new to QField. I am trying to simplify our field workers' process, which involves both digitizing new points and creating KMLs to use in other apps, like Gaia. I like the interface in QField for ...
Nastassia's user avatar
0 votes
0 answers
166 views

Read KML file with GDAL/OGR and access all its attributes

I have a KML file and I'm trying to access a specific attribute named "styleUrl". A feature of this KML looks like this: <Placemark> <name/> <styleUrl>BoundaryStyle</...
Jérémy O.'s user avatar
0 votes
0 answers
36 views

Raster to Polygon is converting the entire image as one polyon

I am attempting to use the raster to polygon tool with a RF Propagation overlay that is in .png format. The png is tied to a KML for the georeferencing from its output software. If i leave the png ...
SA_Nerd's user avatar
-2 votes
1 answer
206 views

Get altitude over WGS84 ellipsoid from GPS tracking app [closed]

I have been using multiple GPS tracking apps for sailing in my iPhone, such as iSailor, whose output is a KML file that looks like ... <when>2023-08-16T09:12:51Z&...
Lothar's user avatar
  • 1
0 votes
1 answer
44 views

Why QGIS cannot open government KML for health authority boundaries?

When I try to load health authority boundaries from the Government of Canada data site into QGIS I get the following message: I have checked on two systems and I get the same result. Mind you, one is ...
Galen's user avatar
  • 103
1 vote
1 answer
219 views

QGIS .dxf file conversion to .kml no geometry notification

My colleague is having an issue converting DXF files into KML files. He is using QGIS version Lima (not sure version no.) and I am using Hannover (3.16) We have checked all the various options and ...
Bob's user avatar
  • 11
0 votes
0 answers
49 views

Extracting polygon from embedded Google Maps panel

I'm trying to extract a polygon from an embedded Google Maps panel on this website (lower half of site), representing an area of coverage. I can not seem to find any file on the website that ...
C͝͡e̷͢pt̡̕i̴̸͘u͜͠͝m's user avatar
0 votes
1 answer
42 views

ArcGIS is not coloring when read from KML file

Here is the beginning of my KML file. When I imported this file into ArcGIS Maps SDK, the points are not being colored with given color. It works perfectly okay on Google Earth. How can I address this ...
Uuganbayar's user avatar
1 vote
0 answers
70 views

Exporting vector layer with symbology using PyQGIS

I want to export vector layer with symbology on PyQGIS. So, like the code below, I try export to .kml with symbologyExport = QgsVectorFileWriter.FeatureSymbology. But It couldn't export with symbology....
qgisWorker's user avatar
0 votes
0 answers
102 views

Conversion from QGIS Layer to KML file, to then Google MY maps. Layer brings to blank map?

This is what I see upon importing my KML file to Google My Maps. Is the file size of 503 kb too big? My CRS is EPSG:4326 like Google Maps. Anything to fix this?
QGIS UsaR's user avatar
0 votes
0 answers
105 views

How to upload Google Earth kml file to Geoserver (via API or python package) without losing any data or style

I have Google Earth Pro Desktop App where I created placemarks, lines, polygons, and applied individual styles to them. However, I am facing difficulties uploading this data to GeoServer using the ...
Hovhannes Asatryan's user avatar
0 votes
0 answers
130 views

Converting and Importing Google Earth Layer with KML Styles into GeoServer (SLD Format) - Styling Discrepancy

I am facing a challenge while trying to import a layer from Google Earth into GeoServer. The styles in Google Earth are in KML format, while GeoServer requires SLD format for styling. As a result, the ...
Vardges Karapetyan's user avatar
-1 votes
1 answer
107 views

Create KML file from Metro Dreamin map

I am wondering if there is an easy way to create a KML file from a Metrodreamin.com map; perhaps from a JSON file. Ideally I would like to do this from an Ipad. However I have acess to a Windows ...
David Martin's user avatar
1 vote
0 answers
67 views

How do I merge KML files without overlaps or vertices in-between?

I have 3 .KML files and want to merge them to create one large .KML but can't seem to remove the vertices in between. When I merge them directly, they have overlaps and vertices in between them like ...
geomajor's user avatar
1 vote
1 answer
53 views

map.addLayer doesn't display KML points layer the first time in OpenLayers 4.6.4

I've posted this question on StackOverflow, but it seems like this is the correct forum to ask this, since nobody answered over there. I have an OpenLayers project where the user can display/hide some ...
Sergio's user avatar
  • 83
0 votes
0 answers
151 views

Break KML nametag with new line

I would like to break the KML name-tag into several lines when showing it as a label. E.g I would like: <name>Germany Deutschland Tyskland</name> to be shown as a label in the map like: ...
Paul's user avatar
  • 475
0 votes
0 answers
29 views

Exporting Shapefile as KML with polygons and labels in QGIS [duplicate]

The link Previous answer does not work with this file. As the file I was exporting was a clipped file I tried using the original file but with same result, polygons but no labels. It is a public ...
Vic's user avatar
  • 431
3 votes
1 answer
656 views

Leaflet KML imported with Omnivore filled only with default blue and not the color set in KML file

I have a KML file which I need to import in a map using Leaflet. If I use leaflet-kml I can see all polygons with color set from KML file. But because I need to show only one polygon extracted for ...
user6634742's user avatar
2 votes
1 answer
209 views

Show only one polygon from KML loaded with Leaflet

I'm using Leaflet with Leaflet-KML plugin to show a KML file with multiple polygons. In this KML file there are 125 polygons. I want to pick only one to show on the map. The choice is made directly ...
user6634742's user avatar
0 votes
0 answers
839 views

Generate WKT from geometry type in SQL Server

I have a bunch of polygon data in a SQL Server database. Most of the data was created in Google Earth and exported as KML, then imported to SQL Server as WKT before conversion to geometry. Each record ...
Feargal Hogan's user avatar
3 votes
3 answers
3k views

Looking for KML validator

I'm looking for a KML validator. It appears that the two websites that did this are gone (feedvalidator.org and kmlvalidator.com). What websites, or other methods, can I use?
Aaron Kreider's user avatar

1
2 3 4 5
26