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

learn more… | top users | synonyms

3
votes
4answers
11k views

How can I import georeferenced photos (jpg, kml, kmz) using QGIS or ArcGIS for Desktop?

I've got several georeferenced digital photos as jpg, kml, and kmz. How can I import them into my GIS projects (QGIS or ArcGIS for Desktop) so I can open them as a popup?
5
votes
2answers
1k views

Loading data onto PostGIS using KML files with attibute data

So, I have a kml file which contains 317 data points (317 polygons and the respective 317 names). The kml file also contains attribute data which pops up in a bubble on Google earth with about 12 ...
7
votes
3answers
3k views

Exporting 3GB ArcGIS Raster to KML without losing resolution?

I have a 3GB raster layer, and I'd like to export it to KML for use with Google Earth. When I use the "Layer to KML" conversion tool in ArcMap, I end up with a low-resolution overlay: looks like one ...
4
votes
3answers
1k views

Convert KML to shapefile without losing attribute data

So I want to convert KML files to SHP shapefiles to load it onto PostGIS. Currently I'm using ogr2ogr to do the conversion for me, but it wipes out all the attribute data. How do i preserve this ...
1
vote
1answer
997 views

When I import polygon kml layer, how do I change projection and offset to correct for GMT wrap?

I created a polygon in Google Earth and saved to kml. After importing as a vector layer, where the polygon crosses the prime meridian, the polygon wraps around the world. So far, I have figured out ...
2
votes
0answers
284 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. ...
1
vote
0answers
576 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
1answer
2k views

KML with text AND polygon

I'm working on applying some KML files to a google map on a mobile device, and have really been impressed with how easy everything is (so long as you stay inside the norm). I have run into some ...
1
vote
0answers
297 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
2answers
797 views

Problem loading KMZ in Google Earth API

I am building a Google Earth API application using a map service (using ArcGIS Server 10) that has KMZ/KML capabilities. For some reason, I am able to access the KMZ layer within our network. But, ...
8
votes
2answers
3k views

Why can't I edit KML/GML layers?

Newbie here confused by my first experience in QGIS I have a handful of lines defining a bike route. Originally they were saved in a .gml file and later translated into .kml so they could be viewed ...
3
votes
0answers
600 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)?
6
votes
5answers
3k views

Create a ground overlay kml from georeferenced raster

I have a world georeferenced raster (5m resolution, ~4000 x 4000 pixels) that I would like to display in google earth. I am looking for a simple and effective way to generate this kml file. Using ...
1
vote
1answer
964 views

Display Labels in Google Maps from Spreadsheet Mapper

How would I go about displaying labels on placemarks on the map canvas where the source kml comes from the Spreadsheet Mapper? This particular use case is where we want to share and control the ...
5
votes
4answers
11k views

How do I export from Wikimapia to KML

I'm not a API person but a GIS user and I would like to export points from a category from Wikimapia to KML or any other useful GIS formats. Has anyone developed that? It could be interesting to add ...
2
votes
0answers
549 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 ...
2
votes
1answer
2k views

Problem with KML in Google Earth iOS-App

I have a some what strange problem with KML/KMZ-files in the iOS google earth-app for ipad/iphone. I export my map from ArcMap to KMZ. Email myself and open the file with KMZ-loader and then open the ...
4
votes
1answer
6k views

Converting kml to shape file via ogr2ogr including all attributes

Here is the example kml file I am using: <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <name>My Golf Course Example</name> <Placemark> <name>Club ...
5
votes
2answers
3k views

ogr2ogr kml to shp conversion created 184 shapefiles?! What am I missing?

I'm trying to convert this KML dataset of ice arenas to a shapefile using ogr2ogr (GDAL 1.8). After some initial troubleshooting to get the script running, it's creating 184 different shapefiles (736 ...
1
vote
0answers
420 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
1answer
527 views

Steps to polygonize raster KML image

I suspect I'm trying to do the same thing as in Convert image in KMZ to polygon. Given a kml displaying an image within a given lat/long boundary, what are the steps I follow to use Quantum GIS to ...
2
votes
2answers
1k views

Is it possible to do scale dependent rendering in Google maps with KML?

I have some data that I would like to display in greater detail as the user zooms into the interactive Gooogle map. Does google support dynamically turning layers on and off depending on the scale? ...
0
votes
2answers
425 views

Is there a way to get Openlayers' KML reader to deal with tessellation?

I'm trying to use OpenLayers' KML reader to display a KML file on a map, but the KML itself has LinearRings tha have a tessellate value of 1. I realize that this is used by google earth to snap the ...
4
votes
1answer
914 views

How to prepare SVG images for presentation in OpenLayers?

I have a collection of SVG vector images I need to display on a map, probably using OpenLayers/KML. Is there any way to convert a vector image from SVG to KML? Or would it make more sense just to use ...
2
votes
3answers
802 views

How to create a efficent linestring out of geography points using postgis

I'm trying to create a linestring out of geography points. At the moment I'm doing it like this: select ST_GeographyFromText(ST_Makeline(a.record_point)) from ( select (record_point::geometry) from ...
2
votes
4answers
9k views

Converting KML to layer in ArcGIS 10 - nothing happens

I have converted many KML files to layer in ArcGIS many times before without any problem. I just did a conversion (Arc Toolbox>Conversion tools> KML to layer) and the file is showing up in the table ...
2
votes
3answers
7k views

Google Maps/Google Earth - KML Overlays and Custom Orientation

I am am trying to get the floor plans for our various buildings imported into 4 separate KML files, one for each floor level so that I can toggle them with javascript. I'm able to overlay our floor ...
2
votes
1answer
2k views

Is it possible to export a layer with a related table to kml/kmz and view related data in Google Maps?

I have a polygon shapefile with a related table in ArcGIS 10. When I use the "Layer to KML" tool to export the shapefile and then load it into Google Maps, it doesn't see the related data. I would ...
3
votes
1answer
243 views

ESRI Silverlight API - KmlLayer with a Schema?

I have a KML file I'd like to load with the KmlLayer in my Silverlight application. The problem is that the markup seems more complicated than the class wants to handle. I have a element at the top ...
3
votes
3answers
3k views

How to register onclick handler for *all* KML feaures in OpenLayers?

I'm a newbie using OpenLayers with JQuery to display vector data from KML files. I'm creating the layer like this: newlayer = new OpenLayers.Layer.Vector( layerid, { projection: ...
15
votes
2answers
5k views

Is it possible to gray out a Google Maps map except for some area?

What i am looking for is a way to emphasize a certain area on a Google Maps map by graying out the rest of the world. I heard about some solution of using 2 polygons of which 1 is visible and the ...
2
votes
4answers
3k views

How can I transform some KML data to Sql Server 2008 using FME?

I've just downloaded FME 14 day trial. I'm trying to see how easy/hard it is to transform some KML data (a simple neighbourhood shape) into my Sql Server 2008 database using FME. I sorta don't even ...
6
votes
3answers
1k views

How to convert factfinder2.census.gov map data to KML?

I've downloaded a map from http://factfinder2.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=DEC_10_SF1_P1 (limited to San Francisco census tracts), and I'd like to convert it to KML ...
4
votes
3answers
3k views

Export georeferenced image overlay from KML?

How might one export image(s) from image overlays in a KML file to a standard geo-referenced raster format like geotiff? Use case: NASA's Earth Observatory has a time series of the changing Athabasca ...
0
votes
1answer
851 views

How to highlight track in KML on hover with OpenLayers

I have KML layer with multiple tracks and I would like to highlight them individually on mouse hover. I tried to implement this like in the example found in OpenLayers examples, but couldn't get it ...
3
votes
2answers
2k views

OpenLayers.Format.KML write style

I would like to apply a style to the KML that gets generated from the write() operation of OpenLayers.Format.KML. The current style that is on the vector layer does not get exported with this code: ...
1
vote
1answer
188 views

Which map projection maps y=m1*lat+b1, x=m2*long+b2?

I'm looking for a map of the US in this simple format. Then I can calibrate the simple mapping and do a report for our business by making a dynamic SVG file that places markers on that map. Right now ...
4
votes
1answer
1k views

Does OpenLayers supports KML Ground Overlays?

I am not able to display Ground Overlays in a KML file with OpenLayers. Does OpenLayers supports KML Ground Overlays? If not, how would I proceed in writing my own code or plugin for OpenLayers so ...
1
vote
1answer
643 views

KML to Dat Converter?

Are there any free KML to DAT(destinator compatible) converter available ? I tried to use global mapper but was in vain. Also used ITN converter but the line was converted to points.
6
votes
3answers
2k views

.NET library to convert KML to WKT?

Anyone know of a free OpenSource .NET library i could use to convert KML to WKT? I know i can use openlayers and there are many JavaScript possibilities, but i need to do this on the back-end.
3
votes
1answer
953 views

Why is Openlayers KML-layer undefined when using permalink

I am working on Openlayers to dynamically load KML tracks on map. I want it to load filtered KML everytime map is moved or zoomed based on viewport and zoom level. I got it working with code below, ...
1
vote
0answers
802 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 ...
4
votes
1answer
2k views

How to batch export layers to KML in ArcMap?

Is there a way to batch export layers to KML from ArcMap (ArcGIS Desktop) by altering the layer to KML tool to have more than one layer input?
0
votes
2answers
625 views

How to force ArcGIS server to create KML?

Attempting to serve arcgis server (AGS) 10 sde data to Google Earth (GE). I don't have any problem opening the service or the network link in GE on my desktop. When I try to open in ipad device ...
3
votes
2answers
364 views

Sort feature type order in FME KMZ writer

I have 4 feature types I am writing to a single kmz file using FME. Currently, these feature types are written as folders in the kmz file and appear in alphabetical order. Is there any way to sort ...
3
votes
1answer
2k views

Map Grid Index / Reference for Canadian Topo Map

Does anyone know where I can find some kml at different resolutions to show the grid reference for the Canadian topographic maps (CanTopo and toporama). Much like is displayed on the map here: ...
0
votes
2answers
2k views

Shapefiles for real world places [duplicate]

Possible Duplicate: Are there any free administrative boundaries available as shapefiles? This is a follow up to my previous question How to highlight the area in google map on mouse hover. ...
5
votes
3answers
4k views

What restrictions on KML/KMZ upload exist in Google Maps API v3?

I am currently using the google maps api v3 to load kml files into my web application. The file I am having trouble with is a KML which is 274 KB big. It will not load (uncompressed the file is ...
5
votes
1answer
808 views

How to create a balloon for a dynamic KML file?

I want to create a balloon for a KML file that dynamically moves. The example that I am working on is sundials.html. Let's say that the KML is moving. How we would get the balloon to move as well? ...
10
votes
2answers
1k views

Why does one part of GML -> KML conversion not work on Google Maps?

Brand new to all of this, not even sure this is the right forum to ask in... I have a client who wants to visualise cancer incidence and mortality rates by local/unitary authority across Great ...