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.

Overview

KML (Keyhole Markup Language) is an based language for expressing geographic annotation and visualization on web-based online and mobile maps (2d) and earth browsers (3d). It originated as the save format for , but is now an Open Geospatial Consortium (OGC) standard.

In practice most data in kml form is actually stored in a kmz file, which is simply kml data compressed in the format.

Other References

Tag Usage

Consider whether the question would be more suitable on Stack Overflow SE or GIS SE.

2655 questions
0
votes
1 answer

Google maps filtering, jquery and KML

wondering if you could shed light for me please! I'm using http://jquery-ui-map.googlecode.com/svn/trunk/demos/google-maps-jquery-filtering.html and I have the filter working locally when the markers are being created and tagged by the…
leapin_leprechaun
  • 605
  • 1
  • 4
  • 15
0
votes
1 answer

Can't get images to display properly in KMZ using zipentry in Java/Groovy

Basically, I've been trying to get images to display under the attribute of a KMZ file. My current setup creates a unzipped directory with the following structure: Main Folder/ doc.kml files/ img1.jpeg img2.jpeg img3.jpeg ... and then I go through…
Tom
  • 61
  • 6
0
votes
0 answers

Using a KML file to display thumbnail & full size pictures in My Maps

I'm afraid my original post was not very clear, so I've rewritten my question. My basic question is how to modify a KML file to best display (in Google My Maps) two or more photos taken at a particular location. No matter what I do to the KML file…
wbrells
  • 11
  • 3
0
votes
1 answer

Making Pop out Bubble in KML Files larger

Is there a way make pop out bubbles in the KML Files larger? At the moment I have the information displayed. But it's not clean. It'd look cleaner if all the bold items were on the left. Kind of confused because if I play around with the width,…
JRoth9125
  • 3
  • 3
0
votes
1 answer

KML complex schema

I'm new to Kml and i'm searching for a way to define a more complex kml schema that can contain: a defined region, and inside the region all the countries of the region with their coordinates. So the schema has to contain a complex element and not a…
Silvia
  • 1
  • 1
0
votes
1 answer

Getting colors from KML style hashes tmcw/togeojson

I'm using the tmcw/togeojson method to parse a KML file and grab the data to save to a database. The kml function seems to return a properties object with a styleUrl and a styleMapHash, using the Google StyleMap id's found in the KML file. However,…
0
votes
1 answer

KML LineString Length

Using MSVS C#, I'm creating a KML file. For the sake of simplicity, assume that it has 2 Point placemarks with name tags A and B, respectively. The third placemark is a LineString using the coordinates from the points, with a name tag "A > B". I…
user638473
  • 35
  • 6
0
votes
1 answer

checking and fixing values appended to a node with lxml.objectify in python

I'm trying to modify PyKML, which uses lxml.objectify. With a track node append, this gets turned into a string with the default str() behavior. I'd like to catch appends of lists or tuples and convert them to proper place separated lines rather…
Kurt Schwehr
  • 2,638
  • 3
  • 24
  • 41
0
votes
1 answer

Google Maps changing placemark icon solely based on styleUrl string syntax

I've written a simple script in python that converts a CSV file to a KML file using the simplekml package. It colors my points based on one of my data values. My problem is this: I’m trying to use the smallest icon possible because my placemarks are…
Topo
  • 1
  • 1
0
votes
2 answers

KML polygon, altitude mode destroys color

I am attempting to generate a KML overlay. I have a grid I am mapping over an area, with colored squares. When I have the altitude mode as 'clampToGround' everything about the polygons I am generating, including their color, works as expected.…
Kevin John
  • 71
  • 8
0
votes
1 answer

Adding Placemarks on Google Earth API

Is it possible to allow a user to browse a Google Earth, and decide to add a placemark? I am using Google Earth API. For example, if the user puts the mouse on a location, to automatically calculate the Long/Alt. Thank you & regards Bilal
Bill
  • 2,026
  • 9
  • 55
  • 99
0
votes
1 answer

How to Get Clicked KML point coordination in Javascript

I want to get clicked point's coordinates. However I get "undefined" string. The code is below kmlLayer.addListener("click", (kmlEvent) => { const text = kmlEvent.featureData.coordinates; window.alert(text); }); And my .kml…
1dll
  • 39
  • 5
0
votes
3 answers

Google Maps coordinates in KML

I'm trying to use kml for rendering geo-coordinates in google maps. Unfortunately, I have some troubles with coordinates: when I insert in KML coordinates from Google maps, and then pass this KML file to google maps service, placemarks points to…
dmitrynikolaev
  • 8,994
  • 4
  • 30
  • 45
0
votes
1 answer

Cannot export gpx and kml files, laravel

I have a problem with exporting kml and gpx files using laravel controller: for json export I use function public function mapExportJSON(Request $request) { $client = new Client(); $http = $client->post( 'https://myurl' , …
0
votes
0 answers

How to delete or hide by "KML" code temporary place marks that I plotted by "KML" code in Google earth and Plot new place marks?

I Embed GE in my app and try to plot some driving route on it. I tried Place marks and "Line String" coordinates to plot that. what I am looking for is a way that I update the plot and plot a new route by new coordinates, So I need a way to delete…
Er Phan
  • 11
  • 1
1 2 3
99
100