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
776 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
82 views

google map api v3 large/complex polygons

I have quite some large/complex polygons I'd like to overlay on a Google map. I can do this but wondered what the best/fastest way is to load them? I have tried using a KML but understand there are ...
3
votes
0answers
91 views

Google earth balloon not fully visible

When i load my KML on google earth, the balloon appears whole but when I embed on a webpage using the embedKML tool, the data in the balloon (In this case a table) appears to be cut. The close button ...
3
votes
0answers
608 views

Any way to view/create/edit Google My Maps KML files on Android?

I have two large (several hundred features) maps created by Google My Maps that I use for my field research. They contain important information required by the field crew for their work on site. ...
3
votes
0answers
455 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
378 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
119 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

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
115 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
96 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
476 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
555 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
635 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
214 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
341 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
23 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
46 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
16 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
90 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
70 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
46 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
109 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
29 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
26 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
147 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
1k 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
84 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
272 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
382 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
121 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
177 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
517 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
496 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
174 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
303 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
140 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
121 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
385 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
239 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
308 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
496 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
15 views

KML Opacity Slider

I am trying to build a KML opacity slider, but I am unsuccessful so far. Based on this answer: http://stackoverflow.com/questions/20667722/changing-opacity-of-kml-overlay-in-google-maps-v3, I try to ...
0
votes
0answers
10 views

ogr2ogr from MIF to KML including MID generating split kmls

I have a set of MIF and MID files that I would like to translate to KML. I used ogr2ogr to transform the MIF into one big KML which worked ok like so: ogr2ogr -f "KML" geo-kml geo-mif I have two ...
0
votes
0answers
37 views

FME converter from DWG to Openlayers supported format

FME converter is best software that i found till now to convert DWG to some open format vector data file supported by OpenLayers , but it got very awful convert from DWG to KML/GML it drawing ...
0
votes
0answers
22 views

CSV to KML can't show the clickable link in the bubble of Google Maps

I have 200 places in CSV in the following: Name of the place, Lat, Lon, Link I convert CSV to SHP than convert it KML in ArcMap with KML Converter extension, but if i upload the KML file to Goggle ...
0
votes
0answers
13 views

Cannot merge my map on CartoDB

I am trying to create a map on CartoDB using this kml file http://cdn.journalism.cuny.edu/mapFiles/NYC_Community_Districts.kml and a CSV file. I have uploaded both to CartoDB but there the name column ...
0
votes
0answers
48 views

How to draw 3d objects from .kml file on gwt-openlayers map?

I tried to run gwt-openlayers KML example on my PC but failed to see KML layer. I set protocolOptions.setUrl("http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/kml/lines.kml"); instead ...
0
votes
0answers
27 views

How to reorder KML layers in ArcGIS API for JavaScript?

How do I reorder KML layers in Esri ArcGIS javascript version? I want to be able to reorder the order of the rendering of layers. I tried this._map.reorderLayer(kmlLayer, 0) This did bring the ...
0
votes
0answers
33 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 ...
0
votes
0answers
69 views

Cannot Display all KML attribute data in Google Maps

I've linked a hosted KML file in to my custom Google Maps test website, the KML file is something I created from a clipped shapefile. I am struggling to view the attribute info once I have clicked on ...