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
24 views

QGIS - KML File Not Displaying Correctly After Conversion

I have a ESRI shapefile made up of 140 polygons that I want to display on Google My Maps. I have my project and layer CRS set to WGS84 which is standard for displaying spatial data on google. However, ...
0
votes
0answers
13 views

Changing a feature over a time span using KML XML file on Google Earth Pro [closed]

I basically want to have a line change colour over a time span. I seem to be able to add the time span, but I don't know how to create the change over time.
0
votes
0answers
35 views

Including file structure in KMZ using Google Earth?

I am currently undertaking a very big research project that is focusing on the location of creative firms. My method is to use Google Earth to search for firms using a number of search strings and ...
0
votes
0answers
15 views

Input multiple KML files into Leaflet API

As we know, since the WIndy Leaflet-kml plugin has been developed we are able to input our KML files into the Leaflet map. However I have one query regarding this: How we can input a huge (at least ...
2
votes
1answer
50 views

Exporting shapefile to KML with labels

In QGIS, When exporting my point shapefile to KML, points label are not visible in Google Earth Pro. I follow these steps: In QGIS, my point shapefile has a name attribute Right click on the shape ...
0
votes
0answers
11 views

Max string length is 254 for KML?

I have a network link KML which I'm downloading via Python script and then converting to shapefile in ArcGIS Desktop. The problem I'm having is the max field length of 254. It's truncating the ...
1
vote
0answers
24 views

Input KMZ files into leaflet map

Is it possible to input a zipped .kml file (.kmz) int Leaflet? I was trying the code: fetch('Cov.kmz') .then( res => res.text() ) .then( kmltext => { // Create new kml ...
1
vote
0answers
36 views

Converting KML to CSV with QGIS

I'm currently attempting to to convert a KML database and export in CSV for a research project. I'm able to load the KML into QGIS but an issue has arisen. The points appear perfectly in the mapping ...
0
votes
0answers
15 views

Google Earth Polygon Styling Corrupted After Copying Features, then Saving/Reopening?

I make use of an EPA-created KML feed called WATERS-KMZ. It allows users to access the many layers of the National Hydrography Dataset (NHD Plus v2.1) as well as other geographical information about ...
0
votes
1answer
14 views

Difference in FCC and US Census data [closed]

I am comparing 2 lists of census data for the state of IL. One from the FCC.GOV where I download all the census tracts in CSV format and the data looks like this state,county,cnamelong,tract,...
2
votes
4answers
150 views

Convert shapefile to KML

I have one big layer which contains many polygons. This layer is a shapefile and I want to convert it to be many layers, each layer containing one polygon, and those polygon layers should be saved as ...
1
vote
0answers
44 views

Shapefile creating “leaky” overlay in Google My Map after QGIS KML export

California has published, as shapefiles, maps of the various Fire Hazard Severity Zones in the state. I'm trying to use QGIS to convert these into a KML that I can then use as a Layer in a Google My ...
1
vote
0answers
33 views

Display .kml file in Leaflet

I would like to show my .kml file in my leaflet map.~ There is a plugin: https://github.com/windycom/leaflet-kml whixh unfortunately doesn't work. It show only a blank map in the coordinates provided....
1
vote
1answer
28 views

Convert all KMLs within a directory to SHP, zip by name, and move to another output folder? [closed]

I have the requirement to convert a list of ~100 KML files into shapefiles and later merge and upload the polygons as one layer into ArcGIS. I'm new to GIS and Python. I've been able to convert ...
0
votes
1answer
29 views

Consume KML service with Python

I have a REST KML service that I am trying to import into a PostgreSQL table using Python 3. I haven't ever dealt directly with a KML service before, only JSON, and I'm having some trouble finding a ...
1
vote
1answer
94 views

Creating KML file from R?

I have a dataframe in R with three columns; latitude, longitude and cluster. I would like to export this data into a KML file for visualizing these clusters in Google Earth. Here's a snippet of my ...
0
votes
0answers
77 views

Read contents of KML file into CSV format using Python (BeautifulSoup)

I have a KML file called Layers.KML which has multiple sub folders - Tree_Heights_Elevations, 20190516 - Chain Link Fence, 20190516 - Clearing Limits, 2016-0516 - Solar Array . ...
0
votes
1answer
77 views

Cesium and KML altitude

I have the following KML file which is a cube: </Placemark> <Style id="3Dobject"> <PolyStyle> <color>7fff5500</color> <outline>1</outline&...
1
vote
1answer
22 views

Adding data from KML/shapefile/GeoJSON to OSM nodes

I have data of streets which is marked with the osm way/node ids. I would like to add speed limit data which is available in KML, shapefile, or GeoJSON to these OSM wayids (OSM wayid with start node ...
2
votes
1answer
27 views

GeoTools KML export with Document@name

I've been able to export features as KML using GeoTools. However, I would like to insert a name attribute at the top level (e.g. Document, though a Folder would be fine too). (Example of what I'd like ...
1
vote
1answer
31 views

Rotating Polygon in 3D Space as KML for Google Earth?

I'm trying to create this effect in a KML to be displayed in Google Earth. I am writing in KML 2.1 as a reference. I know it is possible to create a polygon that is circular in appearance, but can ...
1
vote
1answer
91 views

Geopandas read_file only reading first part of KML

I am trying to read the following file with GeoPandas: import geopandas as gp gp.io.file.fiona.drvsupport.supported_drivers['KML'] = 'rw' df = gp.read_file('http://watchthemed.net/index.php/json/...
0
votes
0answers
10 views

Edit styleUrl of a point KML file in QGIS

I have exported a file from maps.me as a KML and want to edit the style in QGIS and then export it back to maps.me. It is is possible to edit the styleUrl in the raw KML file, then save the changes ...
1
vote
1answer
31 views

KML file with multiple ground overlays

I have geolocated imagery which I would like to plot in Google Earth. I have the 4 corner points of each image, and I am currently laying the images down using GroundOverlay and gx:LatLonQuad. My ...
0
votes
3answers
44 views

Impossible to export a 3D city models as KML tiles

I want to display 3D city models, stored in a CityGML file, in a Cesium Virtual Globe. I used the software "3D City Database Importer/Exporter" to store this data in a PostGreSQL/PostGIS database. ...
1
vote
1answer
36 views

QGIS only reads first polygon in KML file

I am new to QGIS and I am struggling to read in a KML file of polygons. I have a KML file that contains polygon information for a number of squares formatted as follows: <?xml version="1.0" ...
0
votes
1answer
48 views

Converting DXF to KML with ogr2ogr

I want to convert DXF from AutoCAD to KML. It works but the coordinates don't come out right when I compare them to a KML produced with global_mapper and consequently it is shifted some when uploading ...
0
votes
1answer
22 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
7 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
50 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
25 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
2answers
303 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
46 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
48 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
81 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
70 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
69 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
14 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> &...
3
votes
2answers
141 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
39 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
160 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
36 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
95 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
14 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
59 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
60 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
143 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
15 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
107 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
68 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 : { ...