Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [kml]

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

0
votes
0answers
11 views

Initiating infowindow event by clicking within KML polygon?

I generate multiple google maps kml polygon overlays in response to users query and can get the infowindow to launch by clicking on the boundary of the polygon, but can't seem to figure it out how to ...
0
votes
0answers
30 views

Convert shapefile to KML: KML polygons don't match shapefile

I've edited my shapefile quite a bit using the Cut and Merge tool (through the Editor toolbox, not the geoprocessing tool). It looks like this: For some reason, when I export the shapefile to a KML ...
4
votes
3answers
153 views

Importing KML styles into QGIS

Can I import a KML file with styles to QGIS 3? (As of now version 3.4.1) I have a .kml file with cycling routes that have a different color for the time between sunset and sunrise. When I import the ...
0
votes
1answer
23 views

KML Screen Overlay - works on google Earth but not on ArcGIS

I've been trying various things to get this to work on ArcGIS Online for the past couple of hours, but have not been able to figure it out. It works perfectly fine on Google Earth but ArcGIS Online ...
0
votes
0answers
27 views

Making two side-by-side Line displayed as separate Line when zoomed out?

I have question about Line in KML file. I have map, and there are 2 Line placed side-by-side. When I zoom in, it looks good, I can see that there are 2 Line. Problem is, when I zoomed out, those 2 ...
0
votes
1answer
26 views

Edit KML lines in Illustrator or getting smooth curves

I have a problem, when I'm making my traces in an application like Google Earth, I can't make smooth curves, only straight line. So I thought maybe I should export the trace to Illustrator then ...
0
votes
0answers
16 views

Google Earth Pro Becomes Unresponsive After Loading a .KML file

I'm a GIS Tech who works for a Telco Company. One of my jobs is to take a .KML file with a list of addresses, load it into Google Earth Pro so it can geolocate all the addresses and save the output to ...
0
votes
1answer
35 views

Openlayers select feature in KML

I'm having trouble selecting a feature inside a KML, and wondering if this is even supported. as a pretty basic example i have: var vectorSource = new ol.source.Vector({ //url: 'https://...
0
votes
0answers
30 views

GIS KML file offset in Google Map

a newbie to using QGIS. Looking for some advice on how to export a KML into Google maps from QGIS. We currently using coordinate reference system of EPSG:27700 - OSGB 1936 / British National Grid, ...
0
votes
1answer
42 views

Merge different KMZ layers to a unique KMZ file, a bash script

I have different .kmz files, each one contains a .png and a .kml, let's say: a.kmz, b.kmz, c.kmz. I would like to use a bash script to obtain a unique .kmz file, let's say d.kmz, that contains all the ...
0
votes
2answers
72 views

Extracting non-spatial data from imported KML file using R?

I have a KML file which was created using Google's My Maps. The original file can be downloaded here: Google My Maps Using R, I can import this using the "readOGR" function of the rgdal library ...
0
votes
1answer
48 views

Change Leaflet Map Layer/Terrain Style

I'm going to show KML file using Leaflet's plugins named Omnivore KML (https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-kml/) I've read the tutorial, implement the source code, and it ...
0
votes
1answer
28 views

ECW to KML from ArcGIS Desktop failing to open in Google Earth?

i have some .ECW file and i want to convert to KML to used in another program (AutoCAD).. so i convert this file using conversion tools which is ArcGIS Desktop 10.2 provide.. but i have problem in ...
0
votes
0answers
12 views

KML: Making all points on a polygon relative to ground by same amount?

I need to generate large polygons that are all on the same plane but are all some relative distance from the ground. I need to do this without knowing what the absolute altitude is. So imagine I am ...
0
votes
0answers
18 views

Clustering geo points and export borders in KML

How can I get geolocation points (lat, long), use any classifier (example: kmeans) and generate decision boundaries and export a KML of the formed clusters? I have a table where each row is an order ...
0
votes
0answers
40 views

Data Source (s) for names and polygon shapes for the world [duplicate]

I am looking to find out where I can ideally get every country, district, city, town, postcode in the form of polygons. Is there a central place for this? What are the licences for using the data?
0
votes
1answer
39 views

Read through a feature class and export each feature BY ROW to KML via arcpy [closed]

I have a geodatabase feature class of a polygon with multiple rows, where each row represents an individual polygon. I need to loop through each one of these polygons (rows) and export them to a KML ...
1
vote
1answer
19 views

Extra attribute is embedded into KML file after conversion

I converted point shapefile into KML which has two columns, one is Name of School and second is Coordinates. "Coordinates" column has only 10 rows. And in the "Name of School" column, there are 30 ...
0
votes
1answer
81 views

Exporting layer from Google My Maps as KML has no geometries

I have a CSV with an address field (no lat/long), so I went to Google My Maps, imported the csv and geocoded of the records. Now I export the layer as KML and added the KML to QGIS and Google Earth ...
0
votes
1answer
74 views

Openlayers 5 change kml style for icon only

I'm importing KML into my map where it has some point placemarks with images that are WAY too big. What is the best way to import KML in the map, and just change 1 aspect of the style ( https://...
0
votes
0answers
13 views

Automating KML based processing in ArcGIS Desktop using ModelBuilder?

In order to calculate the number of buildings around a stretch of road, I repeat the same work each time I receive a new stretch, so, I have to automate the process, the problem I have is the input ...
0
votes
1answer
28 views

Changing color scale in KML files?

I want to work with kml/kmz files in the Google Maps API, but I want to remap the color scales. Is that possible? Here are example kml/kmz files where I'd like to change the color representation ...
1
vote
1answer
132 views

Network link KML on Google My Maps

Within Google My Maps (https://www.google.com/mymaps) There is an option when exporting the data out called: "Keep data up to date with network link KML (only usable online)" I want my Google My ...
0
votes
1answer
45 views

Exporting map to KML using ArcMap?

I've been trying to convert a map from ArcMap to KML without exit. The issue is that I want to export the complete map, not only the layers in the data frame but also legend, symbols, grid ticks and ...
1
vote
1answer
23 views

Python change to geotagged photos to kml and csv (remove labels)

I am writing from NC in the aftermath of Hurricane Florence. I have been working with a Python Script for geotagged photos. If there is anyone out there willing to look over a short two-page script ...
1
vote
0answers
70 views

How to style KML through LIBKML layer creation options?

I am exporting a layer from PostgreSQL to KML using the sf package in R - though I am also capable of doing it directly with ogr2ogr. I get a workable KML that looks like this. <Placemark> ...
0
votes
0answers
28 views

Using Layer to KML with Multiple Attachments?

I am using Arcgis Desktop 10.5.1. I'm attempting to use the Layer to KML tool to create a kmz file with multiple photo attachments for each point. The tool creates the kmz file with all of the photos ...
0
votes
2answers
50 views

Processing a very large hosted KML file to identify what makes it so big [closed]

I've run into a problem where I have two very large layers that I'm tasked to overlay on a map, showing cellular coverage across a the whole South Africa. Layer 1 was given to me in various formats ...
0
votes
0answers
276 views

Online viewing and editing of KML file?

I want to view and edit KML file online, is there any online solution for the task. I am executing a survey for roads, and I need to get it identified digitally by the client on site, so I tried KML ...
1
vote
2answers
72 views

I have a very big KML file, I want to remove all the placemarks from it

I want to remove all the Placemarks that has a name, and keep the lines which is between , as the performance of the file is awful I've tried to do it using Notepad++ Replace function using the below ...
2
votes
0answers
27 views

Creating networks and regions KML in R

I have >500 very large KMLs that contains only point data and a reference to a .png pop-up Each KML looks like this <kml xmlns:xsd="http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd" xmlns:xmlns="...
1
vote
1answer
74 views

Can't export feature attributes to KML

I am trying to export my feature collection to KML using geotools but only the geometry and id(weird id combination of table name + id) is exporting to KML i am getting the data from postgis and then ...
0
votes
1answer
195 views

Showing labels on KML map in Google Maps?

I have converted my layer, that is (from shapefile to KML) in QGIS this is the way I read it in angular: this.kmlLayerc1 = new google.maps.KmlLayer ({ url: 'http://direccion/carpeta/nombre.kml', ...
1
vote
0answers
107 views

Google Earth transparent weather KML file overlay

I am unable to make any of the weather overlays from the website below transparent/opaque once they are loaded into Google Earth. I have attempted to modify the KML file directly by using the ...
0
votes
1answer
90 views

Showing attributes/labels from KML in Google Maps?

I have converted my cover, it is said (from archived .shp to .kml) in QGIS and this is the way it is read in angular: this.kmlLayerc1= new google.maps.KmlLayer({ url: 'http://direccion/carpeta/...
0
votes
0answers
19 views

GPSBabel KML document has incorrect name

I'm using GPSBabel to convert GPX tracks in a directory to KML linestrings using the following: @ECHO OFF setlocal for %%i in (C:\Users\...\*.gpx) do ( gpsbabel.exe -t -i gpx -o kml,points=0 %...
0
votes
1answer
26 views

Table join to KML file

I want to add a classification to photos which are in an excel spreadsheet within a KML file. Need a way to combine/join fields that are in an Excel spreadsheet to a KML file.
1
vote
0answers
89 views

Bring KML via localhost url into ESRI js app also hosted locally

I have brought over one of the demos ESRI javascript apps and hosted that on my local IIS instance. I also have a folder I have turned into an application via IIS, so I have the following: The file ...
2
votes
1answer
30 views

ModelBuilder adds numerous file extensions to outputs as it runs?

Using ArcMap 10.3 I am trying to create a model that will take all the shapefiles in a folder and convert them to KML files. I first create an inline variable for the shapefiles in the folder, then ...
0
votes
1answer
64 views

Exporting KML data from QGIS

I have a 12 mb KML file that I can easily import into QGIS. The trouble is when I save it as a shapefile the data in the description field, which is html, becomes truncated. Is there a way to avoid ...
0
votes
0answers
42 views

Expanding a “curve” in KML / Google Earth

I want to draw an easement in Google Earth. APN legal descriptions are in bearings, distances, and radii. I've downloaded KML APN data provided from my county, which are in absolute lat/long ...
1
vote
0answers
23 views

Problem with overlapping transparency

I am making an Android app that has bathymetric lake data on a google map. I am new to GIS work. I get this info from the state of nebraska as an already formatted kml file. In the file they simply ...
1
vote
0answers
205 views

How to display names from KML file in google-earth?

I exported via QGIS a .shp file in .kml. Labels are displayed without any problem in QGIS from a field "REG_NAMES". Now I want to display these names on GGearth from the .kml, but it does not work. ...
0
votes
2answers
395 views

Python library for KML to GeoJSON?

I am writing a Python script to reproject a KML file to WGS 84 and then to convert it to a GeoJSON. I am aware of and use the GDAL command line tool ogr2ogr (which was the answer to this question in ...
0
votes
1answer
37 views

writeOGR KML attributes blank [closed]

Using the below I output a KML file from a Large SpatialPolygonsDataFrame polygonWGS <- spTransform(Polygon, CRS("+proj=longlat +ellps=WGS84 +datum=WGS84")) writeOGR(polygonWGS, dsn="...
0
votes
1answer
78 views

Import multiple KML files into single table with preserving layer name as (additional) column

I have bunch (1000+) of KML files like this: <Document> <name>Shape 10</name> ... <Placemark> <name></name> <MultiGeometry> ... </...
1
vote
2answers
95 views

QGIS style in Google Earth

I've been using QGIS for sometime its a great software, it suits my needs in my project until I encounter this issue in Google Earth. Are there any plugins or any "work around" method to be able to ...
1
vote
1answer
459 views

Converting map to KML/KMZ format and opening it on Google Earth?

How can I convert this map to KML/KMZ format and open it on Google Earth?
0
votes
1answer
68 views

Points data to kml retain color

I have styled my point data with circle and red color symbology. Is there any way to retain the points color when saving layer to kml? Currently when saved and open in google earth, it only shows as a ...
1
vote
0answers
46 views

Converting multiple geometry KML to SHP

I have a KML file with multiple geometry, points and polygons. I want to convert it to a point shp and a polygon shp. Using OSGeo4W Shell I tried this : ogr2ogr -where "OGR_GEOMETRY='Point'" -f "...