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

checkbox issue in IE9

I'm running into an issue my website using google maps API v3 works fine in chrome but I am having a checkbox issue in ie. When I click on my checkbox to load layers everything works but refreshing the website cause the layers to clear (which is…
0
votes
1 answer

Parsing a KML File and storing in a database with Python

I have 4 KML Files with multiple polygons. I would like to parse the KML files, extract the data and then store it into my Database. After researching, I figured that the best way to parse a KML file is to install pyKML. One of my KML files looks…
0
votes
2 answers

Creating buffer spaces in meters around LineString line in KML using Python

Any suggestions to create buffer spaces on kml linestring using python? I tried with few libraries.. geojson shapely kml2geojson Here, converted kml to geojson and added buffer space on the linestring and output should be polygon import…
Gokul Raghu
  • 55
  • 2
  • 11
0
votes
1 answer

Converting Geojson to kml using Python

I can convert it kml/kmz to geojson also, creating kml from geojson.. I tried with the below libraries Shapely kml2geojson geojson Source code below.. import json import simplekml with open('file.geojson') as f: data = json.load(f) kml =…
Gokul Raghu
  • 55
  • 2
  • 11
0
votes
1 answer

How to convert GeoJson to KML using open source dll in C#

Please suggest me any open source that convert the GeoJson to KML File. I have spent too much times but I didn't found any open source. Please find the below link for paid source https://products.aspose.com/gis/net/
0
votes
1 answer

How to marshal multiline to XML in Go?

I need to store coordinates to KML file. It should be like this: 51.600223,25.003058,0 51.600223,25.003065,0 51.600213,25.003065,0 51.600212,25.003065,0 …
Yura
  • 969
  • 14
  • 33
0
votes
1 answer

C# Convert XML file to Multiple Polygon Objects

After converting multiple MapInfo files into a unique Shapefile, and then converting that file again to .KML, I got the following .XML file. My idea is to extract each set of 'coordinates' sections, and build polygons using them. Other attempted…
Felipe La Rotta
  • 343
  • 3
  • 13
0
votes
0 answers

How to display the required information inside the mark when clicks mark from KML on Android

I'm getting the KML data from the Open Charge Map. In general, when imports KML in google map, all the marks create in the map. If I click a mark, the Mark doesn't show as like website. I want to add the right style to mark. The code for the…
0
votes
1 answer

Issue with RGeo / GeoJSON / LinearRing failed ring test / EPSG 3857 vs EPSG: 4326

My overall goal is to answer, "Does this point intersect with this geojson object" I am attempting to do this with the following code: boundaries = {...} # geojson object point = RGeo::Geographic.simple_mercator_factory.point(input_longitude,…
earnold
  • 1,440
  • 1
  • 15
  • 26
0
votes
3 answers

What is the best way to update thousands of placemarks dynamically in Google Earth?

Im using the google earth v1 javascript API to update hundreds of objects moving around in "real-time". I keep track of new, modified, and deleted entities to minimize looping in my javascript while updating placemarks, but still the biggest…
Sinsanator
  • 381
  • 4
  • 16
0
votes
1 answer

KML Placemark Icon has different anchor point in Google Earth than when loaded in Google Maps, Why?

I have a KML file containing placemarks with custom icons. When viewed in Google Earth the anchor point is center of the icon. Like this ... When the KML file is viewed in Google Maps on my website, the anchor point changes to be the bottom center…
Derek
  • 53
  • 8
0
votes
1 answer

Updating Google KMZ Popup Contents & Removing "Directions" in FME

By default a KML balloon will contain links "Directions to Here" and "Directions from Here" (driving directions). I want to know, how to remove these links from the balloon using FME, as well as use HTML to set KML Balloon content, URL links and…
user17167519
0
votes
1 answer

Change font size of placemark's name when zooming

I'm using geoxml3 and Google map to display a KML file with some placemarks have names. I created the parser like this: $(function() { var myOptions = { center: new google.maps.LatLng(105.4009049697155, 45.9307395294156), zoom: 15, …
Canh
  • 516
  • 1
  • 3
  • 9
0
votes
1 answer

A root node with kml namespace does not parse in basex xquery

Trying to understand a vertical industry use of XML in KML mapping. Related answers ( 58961408; 1541744 ; 1535869) provide idiosynctratic workarounds but not an explanation. I generated KML of a voter demarcation map shape file(s) using a web…
MKhomo
  • 179
  • 1
  • 10
0
votes
1 answer

VB.NET - Point in Polygon From KML file

i have a big number of Polygons extracted from a KML file. The polygons represents "blocks" on the Earth surface. I can read the coordinates of the polygons and store their values, as well as some other information i have regarding the polygon. My…
Carlo Prato
  • 326
  • 4
  • 21