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

learn more… | top users | synonyms

4
votes
0answers
847 views

How to split kml file or extract Placemarks?

I have a file of state 2001 assembly districts outlines, from http://goo.gl/dJPyx in Mapinfo MIF format. I've created a kml file from that using ogr2ogr. These are the outlines of each assembly ...
3
votes
0answers
598 views

How to Export a Shapefile as KML Using R

All, I have exported an ESRI shapefile (polygon) to KML using R, but the resulting layer shows only the outer extent of the polygon. How can I fill in the area with a color? Any help is greatly ...
3
votes
0answers
444 views

How Do i Secure My KML files for a rails application?

I would want to keep my KML files to be secure or password protected. I am keeping them on a public server, and i dont want them to be accessible to anyone. I am using geoxml3, so any lock applied to ...
3
votes
0answers
423 views

How to export multiple Shapefiles to one KML file in QGIS?

As the title says, is it possible to export multiple Shapefiles to one single KML in Quantum GIS (Similar to "Map to KML" in ArcMAP)?
3
votes
0answers
122 views

How do I set relative paths for KMZs?

This is an Arc2Earth question - I'm converting a large vector dataset to a KML with regions. The resulting kmz works great on my computer but the files paths are all actual paths and not relative, so ...
2
votes
0answers
42 views

Converting KML To Layer using ArcPy losing objects?

I am trying to a convert kml file to a layer using python. This is my code: import arcpy arcpy.KMLToLayer_conversion('C:\kml\\result.kml', 'C:\kml', 'result') But the layer has lost a lot of ...
2
votes
0answers
49 views

Is there a size restriction on KML layer in esri map?

My website utilizes ESRI's map and it contains several KML layers. Most of them show up fine except for the ones bigger than ~4MB. Are there any restrictions on KML file size? Thanks,
2
votes
0answers
138 views

How to serve KML files from ArcGIS Server in AGS JSAPI 3.6

I have a javascript test page that adds a couple kml layers to a map and I can toggle them off and on. I seem to get info popups for free with KML. When I click on a point feature I get the data ...
2
votes
0answers
103 views

traversing KML files with ogr python

i'm new to OGR processing and KML format so be gentle: i've got a series of KML files all containing multiple regions partitioning a larger area in each. i also have a series of geocoded points for ...
2
votes
0answers
495 views

egeoxml vs geoxml

What is the difference between egeoxml and geoxml? What i know is both are client-side parsers and both allow me to edit the kml files on the run. I guess egeoxml is an initiative by google itself ...
2
votes
0answers
651 views

How to draw an overlay using KML on our own app in Android?

Repost from here Hi there, I want to draw an overlay using .kml files, just look like this. But on my own app in MapActivity. 31.kml, display district in Jakarta, Indonesia or the example that I get ...
2
votes
0answers
712 views

OSGB36 to WGS84 reprojection 'error'

First off, I am a recent convert to QGIS and am greatly impressed with its ease of use and speed compared with the ESRI products with which I am more familiar - my congratulations and thanks to its ...
2
votes
0answers
234 views

How to programatically add KML Icons to Placemark generated from SimpleFeatures using GeoTools?

I have successfully generated a set of (unstyled) placemarks in a KML file using the GeoTools framework, and the Encoder class. The file renders fine in Google Earth with standard balloon placemarks. ...
2
votes
0answers
384 views

directions (path find) given kml supplied bounds

Im trying to generate directions using google.maps.DirectionsService and I really need those directions bounded by the paths defined from within a pre-made kml file. I have reviewed the API docs for ...
1
vote
0answers
53 views

How do I embed a KML map using the “new” Google Maps?

I have a KML link that I can use to generate an embedded Google Map using "old" Google Maps and would like to use it instead to create a "new" Google Map embedding. To generate the an "old" ...
1
vote
0answers
14 views

Many layers from a unique KML files ? (OpenLayers)

I have a KML file generated from a server that contains many networks. I want to know if is it possible to generate one layer for each network from this single KML file ? Thank you!
1
vote
0answers
22 views

Selected output format is not supported with this function? Wikimapia API

I have been trying with limited luck to instigate the &format=kml with the place.getbyarea function. I have been trying to isolate any additional paramater that might be conflicting with the ...
1
vote
0answers
23 views

kml to kml conversion with XSL

I have a simple KML file witch I get with ogr2ogr where all placemark are 2D polygon like this one : <Placemark> <Style> ...
1
vote
0answers
155 views

Adding KmlLayer using local file (File API)

I am trying to load a local KML file to the map for this I am using FileReader object (File API). To use google.maps.KmlLayer I need to use readAsDataURL to transform to a URL the file, the problem is ...
1
vote
0answers
113 views

FME Desktop Pro 2014 : CityGML to KML Collada

Hi I'm pretty new at using FME (just started this morning to tell the truth) In a few words I'd like to export a CityGML model to KML/Collada files in order to load these in GoogleEarth and other 3D ...
1
vote
0answers
45 views

Save GM directions as KML - with timestamps?

In Google Maps I use Get Directions and after saving the result as a 'map' and opening it in My Places I am able to save it as a KML. All fine up to a point, allowing me to display the route in Google ...
1
vote
0answers
21 views

Setting global CSS and Javascript in .KML

I've tried googling this question, but I was wondering if it is possible to declare common styles (CSS) and Javascript functions that are being referenced within the tag of multiple placemarks?
1
vote
0answers
146 views

GeoTools: SimpleFeatureCollection to KML error CoordinateReferenceSystem

I want to export a SimpleFeatureCollection (Read from a MySQL DB) to a KML file, here is my code used to read the infos into the console: private void featureCollectionToKML(SimpleFeatureCollection ...
1
vote
0answers
105 views

Combine KML overlays to find overlapping shapes and export to flat file

I have two KML files with many polygons each. One has larger area polygons while the other has smaller areas. They overlap with each other and I would like to know which areas overlap with each other ...
1
vote
0answers
61 views

I want to export from wikimapia into kml all sugar refinery category points

I want to select a country in wikimapia and then export all sugar refinery points into a kml file. Also how do I find the category id for sugar refinery?
1
vote
0answers
141 views

Input a KML file dynamically into MapServer without losing attributes?

Is there any possibility for MapServer (I'm running v6.2.1) to process the features / styles from a KML file dynamically? I tried STYLEITEM "AUTO" but it turned out to work only for *.dgn and *.tab ...
1
vote
0answers
33 views

How to save KML-layers style (Q-GIS)?

Is it possible to save a KML-layers style? My layer is set to 50 % opacity and I want to save that setting into the KML-file. The plugin qgistokml canĀ“t yet do it, and only work with points.
1
vote
0answers
29 views

Changing displayed elements of a KML file based on current system time in Google Earth

Is there any way to have Google Earth turn features in a KML file on and off automatically based on the current system time? I have created the simple example below of a rectangle with a ...
1
vote
0answers
160 views

Can Google Earth for Android open a local document from a .kml field?

I've been making a .kml file to be used in GE for Android that should open paths from the local device into Polaris Office. I'm using the following attribute tag: <a ...
1
vote
0answers
2k views

Displaying a dynamic KML file on Google Maps as it is on Google Earth

how can i display my kml files through network link on Google Maps instead of showing it on Google Earth. I have tried the step mentioned on this link ...
1
vote
0answers
88 views

Why can I only see a default list of KML attributes in attribute table?

I converted a shapefile to kml using ogr2ogr. Glancing at the output, it looks correct -- it has a <Schema ...> and each <ExtendedData> references the schema (I uploaded a snippet here). ...
1
vote
0answers
339 views

ESRI JavaScript API - Multiple KML Layers - Internal KML Parser Error

I am building a webmap with the ESRI Javascript API. I am trying to add several KML layers, as well as a Legend Toggle and am repeatedly getting "Internal KML Parser Error" and only some of my layers ...
1
vote
0answers
464 views

Geotools, output to kml and convert meters

I have a complex problem. I'm using geotools 10.* I have input data: latitude, longitude (WGS_84), radius in meters, start angle (12 o'clock), end angle (clockwise, i.e. turn to the right). I need ...
1
vote
0answers
995 views

Is there a way for me to load a KML files locally in Openlayers

Recently I posted this question KML file seems to load in Openlayers without error but doesn't show vectors because I was having trouble getting KML vector data to show up. After searching around ...
1
vote
0answers
125 views

Google earth incorrectly rendering coordinates?

My circles are rendering funky on the poles, and along the equator. Here are my coordinates: 158.05553767833,-78.151355482613 152.68654993135,-76.924955252783 147.72303124605,-75.713526831152 ...
1
vote
0answers
197 views

Given two lat/long/time points I need to extrapolate an entire path along the earth

Given two points and the times between them, I'd like to draw a line around the earth. Everything I've tried led to some crazy lines, due to my inexperience with longitudinal movements. Here is the ...
1
vote
0answers
593 views

How do you format an OGR VRT file to best convert a CSV to KML?

I am attempting to get a nice KML for simple review of POI/geocoding from a CSV. I a using ogr2ogr and a vrt. You can see the vet file below, with two attempts to get this right. Basically, the issue ...
1
vote
0answers
617 views

How to highlight area in KML googlemaps on mouse-over event?

How to highlight area in KML googlemaps on mouse-over event? I am trying the same thing as this example How to highlight the area in google map on mouse hover I saw the example given with polylines ...
1
vote
0answers
185 views

QGIS kml file converted from shp do not work properly

QGIS 1.8 installed with OSgeo4W Windows 7 shp - right click - save as - kml - WGS84 the resulting kml instead of a polygon in Italy is a bunch of segments spread over the south pole I suppose the ...
1
vote
0answers
354 views

Loading a KML Layer Underneath a Fusion Table Layer

I am working on a map that will incorporate both Fusion Tables and KML layers, parsed through geoXML3. As my Fusion Table Layer is a point file I would like it to always be on top of the KML's which ...
1
vote
0answers
143 views

Why can't Android phones render this KML poly?

Our outage map works well in browsers and most mobile devices. The map can be found here: Test Outage Map However, on Android phones the perimeter polygon is rendered as black. Have tried changing ...
1
vote
0answers
127 views

KML files no longer showing data for point location - shows placement pin

We do gps-based point soil sampling and have software designed for that. Our software allows us to export a KML file that has all the attributes of the soil samples on it. They pop up and show all ...
1
vote
0answers
419 views

Serving GroundOverlay image data from a KML file via WMS

I've got a KML file with a collection of sparsely distributed (and small) GroundOverlays, with each overlay containing a distinct LatLonQuad and Icon. I would like to serve the this image data via a ...
1
vote
0answers
247 views

Live KML Feeds - From the Ground Up, How Would You Build It and Why?

I found the "Live KML from PostGIS to Google Earth" post very informative but a bit daunting for someone new to the open source world of products like PostGIS and GeoServer. If I am building the ...
1
vote
0answers
336 views

Retrieve tile path of superoverlay in Google Earth Plugin using Javascript

I've created a superoverlay using MapTiler and am displaying that in a webpage with the Google Earth plugin. I'd like to identify the current tile (level, x, y) being displayed with a mousemove ...
1
vote
0answers
539 views

Generate Two Triangles on KML file with PHP/MySQL

I am currently generating a KML file dynamically from PHP and Mysql. One latitude / longitude point is being passed to the script. What I want to do now is create two triangle polygons from this point ...
0
votes
0answers
7 views

Serializing features as KML after modification?

I'm trying to serialize features (polygons) as KML after they have been edited via the modify control. Serializing them w/o edits works perfectly. The problem I'm having is the modify process seems ...
0
votes
0answers
33 views

Shapefile to KML automatic updates (ModelBuilder)

I am trying to set a model to where it can automatically update a KML only when there are new features added or modified to my shapefile. Trying to avoid having to convert periodically. Can anyone ...
0
votes
0answers
25 views

Embedding a open source topographic Earth (maybe Google Earth) onto a website?

For a project, I want to create a website that includes something that resembles Google Earth. For this website I would like the starry night background with the Earth in the middle (like that on ...
0
votes
0answers
30 views

How to align edge of a polygon from one shape file with edge of polygon from another shape file

Initially I had a kml file of geographic regions. Each region is a single polygon. I have imported the kml file into ArcGIS as a shape file. Several of the sides of the regions are supposed to align ...