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

learn more… | top users | synonyms

58
votes
19answers
44k views

How to convert between KML and Esri's shapefile (SHP) format?

My users are sending me point data that were digitized using GoogleEarth. How can I convert their KML to a shapefile?
12
votes
9answers
13k views

How to convert KML to shapefile without losing attributes?

I'm new to QGIS and all geoinformation itself but have to work on some difficult stuff. I have a KML file with hundreds of points. To each point there is information, such as Name, Power, Age (it's a ...
5
votes
4answers
6k 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
686 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
3answers
2k views

Render vectors from OSM data in POSTGIS database

I'm a newbie when it comes to mapping application. I had successfully loaded my OpenstreetMap data in a Postgresql/PostGIS database. Now my problem is how to render the vector data (the POI's, ways, ...
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 ...
3
votes
3answers
6k views

How to dynamically update a KML layer in OpenLayers 2.10?

Arguably, this is a easy question for you guys GIS expert. Here is the question, how to outsource a dynamic KML file using JavaScript in OpenLayers. I want to refresh every 7 seconds. Below are ...
3
votes
1answer
2k views

Problems adding KML layer in OpenLayers

I'm stuggling to add a KML layer to a simple test OpenLayers map - no errors are shown, but the KML layer does not display on the map. I've tried multiple samples including the Sundials on a ...
0
votes
3answers
619 views

KML attribute data on onload of html page using openlayers

How to get KML attribute data on onload of html page using openlayers. This is kml file: click here to get kml file Any help is appreciated. Thanks in advance.
21
votes
5answers
60k views

Display a local file in Google Maps

How can I get a KML/KMZ file to display on Google Maps without a public facing web server?
19
votes
6answers
10k views

What's next if our KML is too big/complex for the Google Maps API?

Our web app includes simple mapping capabilities (currently just markers and KML overlays on an embedded Google Map). This works pretty well; the only real limitation we face is KML overlays that go ...
7
votes
1answer
2k views

Output polygon data from postGIS and read it on Google Maps API

So, I have a group of polygons stored in PostGIS. I'm trying to build a web application with Google Base maps (using Google Maps API). Now, How do i output the polygons in the right format so that ...
6
votes
2answers
733 views

Google Earth Enterprise & ArcGIS - How do you use them together?

I have been fielded a few questions about Google Earth Enterprise--which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be summed up ...
6
votes
2answers
2k views

Generate a kml file from Google results

Is it possible to generate a kml file of searched items in Google Maps. For example: Search for highschools in Virginia Return the results as a kml file with the schoolname address and location
3
votes
1answer
3k 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 ...
3
votes
1answer
2k views

How do you import a .SHP into Sketch-Up?

Does anyone know how to use a .SHP in Trimble Sketch-Up? I have tried exporting to KML and CAD from QGIS, but the KML file doesn't read in Sketch-Up. Thanks! -m
10
votes
2answers
23k views

How do I import/export KML to ArcGIS Desktop?

I have come across several scripts and tools to import and export KML into ArcGIS Desktop. Is there a one tool that: Imports/Exports KML into ArcGIS Desktop at v10 Does not cost money ...
6
votes
3answers
771 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 ...
5
votes
3answers
535 views

Advantages of WFS over GeoJSON/KML?

I'm planning to create an online map with openlayers (2 or 3) or leaflet. I have to show some points/markers (~30.000), polygons (~500) and lines on top of an OSM map in several layers. Those points ...
5
votes
3answers
2k views

Labels aren't showing up when I convert from .mxd to .kml

I've been trying to convert a map from .mxd to .kml for google earth. The map has municipalities labeled as well as train stations. When I save it and open it in Google Earth, only the train station ...
4
votes
3answers
2k 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 ...
3
votes
2answers
2k views

Openlayers create, edit and save/export to kml

I'm trying to create, edit and save a point vector as kml file in an Openlayers app. I have managed the create and edit by adding and empty vector layer and then adding the control ...
3
votes
4answers
5k 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?
3
votes
3answers
2k 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: ...
3
votes
1answer
837 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: ...
3
votes
2answers
4k views

KML (KMZ) generated from ArcGIS 10 open in Google Earth but fail to import into SketchUp 8

So i finally figured out how to import TIN surfaces from ArcGIS 10 into SketchUp 8. To fully replicate the functionality of the legacy ArcGIS SketchUp 6 Extension I would also like to be able to ...
2
votes
1answer
445 views

KML with Google Maps : Google violates same origin policy?

Doesn’t Google Violate the same origin policy when it tries to access the KML files from a globally accessible server? The condition for Google maps to display the KML is that it should be globally ...
1
vote
2answers
1k views

OGR DXF to KML conversion

I'm trying to convert a DXF 2010 file to KML using ogr2ogr: ogr2ogr -f "KML" outfile.kml infile.dxf In the file, $INSUNITS is 6, that's meters, if I'm correct? The problem is that DXF is not ...
5
votes
1answer
2k views

Is there a way to export QGIS layers to KML?

has had anyone had any luck with the new experimental plugin qgis2kml? I keep getting the error msg layer : format not yet supported I had a look but the author has not provided any documentation, ...
4
votes
2answers
181 views

Exporting to KML

I'm attempting to export a series of points that cover the continental U.S. as well as some of it's territories to KML. When I export to KML and open it in Google Earth, the data loads in, what seems ...
3
votes
2answers
231 views

Move whole Google earth path

I have a KML-file with a path in Google Earth that is slightly displaced. And I don't want to move each coordinate manually. How can I move all of the coordinates together? I think this site is ...
3
votes
1answer
264 views

KML in QGis with additional Data [closed]

i´ve developed a android app that extracts the exif-information of a photo and creates a KML-file (Placemark) - some additional information like camera-type, focal length,... are stored in the tag ...
3
votes
1answer
278 views

How to convert all shapefiles in folder into KML using ArcPy?

I was trying to convert all the shp in a folder into kml. featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses: # Set Local Variables composite = 'COMPOSITE' pixels = ...
3
votes
3answers
6k views

Editing a KML file or converting KML to Editable format with attributes

I'm using QGIS. I'm trying to either edit a .kml file someone else created in Google Earth or convert it to another editable format (like a .shp file). I've read the following threads without really ...
3
votes
1answer
307 views

ArcMap 10.1 Python split inconsistent string

I converted a kml file to a feature class. All of the fields from the kml were combined into two fields in the feature class. One of them contains information delimited by "/" and the other contains ...
2
votes
2answers
183 views

animate polygons in series of kml/geojson/shp

I have a series of KML files (though they could easily be converted to geoJSON, SHP, or anything else that ogr2ogr can handle), each file containing a set of polygons that correspond to the alpha ...
2
votes
2answers
1k views

KML from EPSG:4326 to EPSG:900913

im trying to create KML files manually (XML format) by extracting data from a postGIS database with "geography" values in a column. But i belive i need to transform the projection of each row in the ...
2
votes
0answers
58 views

Batch Convert MapInfo .TAB Files to .KML [duplicate]

Possible Duplicate: ogr2ogr convert all shapefiles in a directory As the title suggests, i have a few hundred .TAB files to convert to .KML. This is likely to be a fairly irregular thing ...
1
vote
1answer
82 views

Calculated distance doesn't match Google Earth

I have a google earth route that measures 190.1km in Google Earth. I then pulled down the .kml file, extracted the points and measured them using Vincenty's formula (ellipsoid earth) and got 190.2. ...
1
vote
5answers
225 views

Create world file from kml

I have a KML file for a NASA image. I want to create a world file from it so I can use the image in say QGIS. Is it possible to extract the key info (bounding coordinates) from the KML? It seems to be ...
1
vote
1answer
444 views

How do I find out if a given lat lon is in a KML Linear ring using shapely?

I'm a GIS n00b. I have some LinearRings in a KML file that give the areas for a bunch of different regions. And then I (will) have some lat lons that I want to test to see if they're in any of the ...
1
vote
1answer
462 views

Exporting vector to kml with ogr2ogr without extended data

If I convert a shapefile as kml in QGIS, GRASS or ogr2ogr directly, defining the name and/or description field with the -dsco tag, all columns in the attribute table of the input layer are exported to ...
0
votes
1answer
65 views

Convert a KML ImageOverlay to World Files with GDAL

I have many raster outputs from an Open Source radio transmission topographic path tool called SPLAT, georeferenced in KML image overlay format. I have figured out an easy way to use tools to ...
0
votes
0answers
45 views

Not a valid data source of kml created from image overlay by Google Earth

I did image overlay in Google Earth and saved it as kml file. But it was showing me that it is not a valid data source when add it as vector(kml) in Qgis 1.8.0. Any solutions? Thanks!
0
votes
1answer
799 views

cross domain problem with :OpenLayers.Protocol.HTTP

this code works with local kml files, but not when the kml files are on my other server, I got 3 error : OPTIONS http://192.168.0.150:9000/files/anonymous/AVGHDOP.kml 404 (Not Found) ...
0
votes
1answer
357 views

KML file seems to load in Openlayers without error but doesn't show vectors

I'm trying to load a KML file into an Openlayers map. It seems to successfully run but I am not seeing anything show up on the map. Vectors should show up in an area of New Mexico if it's working ...
0
votes
2answers
1k 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. ...
0
votes
1answer
246 views

How to use the transformer KMLRegionSetter ? (Python/FME)

I use Python and FME. I would like to use a transformer "KMLRegionSetter_2" for KML file. I use a fmi file for the transformation. reader=FMEReader("OGCKML",{'USER_PIPELINE':"C:\\arcfactory.fmi"}) ...