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

learn more… | top users | synonyms

1
vote
1answer
242 views

Change kml tag structure [closed]

I am working on google-maps kml. I have several shapefiles and using QGIS i have converted it to kml files. When i export the kml (save as kml in Qgis). It contains tag like <SimpleData ...
2
votes
1answer
111 views

Line calculation from KML file

I am a beginner in QGIS 2 and Mac OSx Mountain Lion I need to get line length in meters for different gps waypoints. 1 I import kml file to create a new vector shape (this works fine). The projection ...
2
votes
2answers
193 views

Convert polygons to KML file

I have a set of polygons out of which I want to make a KML file, my table schema is as follows : CREATE TABLE [dbo].[utilitygeo]( [ID] [int] NOT NULL, [PolygonID] [varchar](8000) NULL, ...
2
votes
2answers
193 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 ...
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?
3
votes
1answer
109 views

How to get around the 10-character limit when converting from kml to shp with ogr2ogr

I'm trying to create custom .shp files by drawing polygons on a new layer in Google Maps Engine, exporting that .kml file, and then converting that file to a .shp file with ogr2ogr. If I run a ...
1
vote
1answer
230 views

Color matching between Google Earth and Google Maps (same KML)

I'm working on a custom Google Map using API v3. I'm creating my KML files in Google Earth, uploading to Maps and then accessing the KML from there. I'm having problems matching polygon colours to the ...
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 ...
3
votes
1answer
315 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 = ...
2
votes
1answer
207 views

KML to shape QGIS conversion [duplicate]

I am trying to import a KML file to QGIS. The KML source file is about 15mb is comprised of polygons with attribute data. The KML imports fine and polygons display but the attribute data is unreadable ...
3
votes
1answer
130 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 ...
0
votes
0answers
78 views

Parameterizing SQL Views Timestamp Issue

Could Someone help me? I am having some difficulties creating KML views. I am trying this SQL: SELECT the_geom FROM lighting.history WHERE stroke_time BETWEEN %inicialtime% and %finaltime% and ...
3
votes
1answer
223 views

How to create Extended Data for KML exported from shapefile by ArcGIS for Desktop?

I have a GIS shapefile of 300+ points that I am converting to KML using ArcGIS for Desktop. Once in KML I want to create custom balloons by editing the KML file. However, the HTML feature in ArcGIS ...
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.
2
votes
1answer
137 views

Is there a simple way to visualise point data with height values in KML?

Is there a simple way to display latitude/longitude point data like a 3D bar chart in KML, where the height is specified by a varying value? I've seen some examples where the <extrude> element ...
0
votes
0answers
22 views

gdal2tiles raster symbology

I am using gdal2tiles to create kmlsuperoverlay of a raster. Although displaying the dataset in the correct location - the contrast is very low and so it is not feasible to see the features. When I ...
1
vote
1answer
144 views

Can QGIS Sextante or ArcGIS ModelBuilder batch extract vertices from KML polygons and calculate coordinates

I want to know how to extract the vertices of any KML polygon and also calculate the co-ordinates of such vertices in Degree Decimal format. I am looking at a batch process. Can we use the QGIS ...
0
votes
1answer
92 views

SpatiaLite: dumpkml with name and description

How does one get the optional arguments in .dumpkml working? According to the .help .dumpkml should work like this: .dumpkml table_name geom_column kml_path [precision] [name_column] [desc_column] ...
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 ...
0
votes
2answers
496 views

How can I view a .kml or .kmz file on a mobile device offline?

I need to view a KML/KMZ file on a mobile device in a remote area where there will not be service. I have downloaded apps that have maps of the area; these maps will be available offline. However, I ...
0
votes
2answers
104 views

Where do I put pause and balloon visibility commands in KMZ tour?

I am teaching a new course called Global Studies, which looks at many aspects of various regions of the world. As in introduction to each region, I plan on making a Google Earth tour with ...
2
votes
1answer
389 views

Exporting geographic coordinates in QGis as projected (flat) coordinates

I've created some polygons with Google Earth which I'd like to convert to my flat map's coordinate system. I've loaded a few shapefiles into QGis of a county's roads, parcels, etc. The coordinate ...
1
vote
1answer
150 views

Bring trails onto a Garmin nuvi GPS

I seem to be having a lot of trouble uploading Utah Trails onto my nuvi 50 GPS. Is it not possible? The Black hills national forest has a img file that is able to be loaded onto the GPS, but the ...
0
votes
0answers
50 views

Making a KML layer “always on”

Is there a KML tag or specification by which you can force a given layer (specifically, a screen overlay) to be "always on", in that there is no way for the user viewing the file to make that layer ...
0
votes
2answers
172 views

Strip html tags from ArcMap table

I am importing a KMZ we receive as output from an iOS app into ArcMap using the KML to layer tool. The resulting table includes a "pop-up info" column that contians cells with marked up tags like: ...
1
vote
1answer
51 views

KML to SHP with elevation not equal to Z value

Can I convert a Google Earth KML file to a shapefile with the elevation coordinates not as Z values? I can add a vector layer using a KML file and then save it as a shapefile but apparently the ...
1
vote
1answer
347 views

How to render GPX files in TileMill?

I want to show a number of GPX files in a TileMill map. Here's the process that I thought would work: gpsbabel -i gpx -f "$myfile" -o kml,lines=1 -F "$myfile.kml" Add as layer in Tilemill, style ...
2
votes
2answers
73 views

Why is OpenLayers only displaying the first features in my KML?

I have an OpenLayers map (that you can find here, use the blue search area) that reads in a KML string that is written from Perl using data from oracle. It reads the KML like this: var vector_Layer = ...
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
1answer
278 views

All LGAs for Australia in KML or KMZ format

Can somebody please show me where to find a KML or KMZ file that includes the digital boundaries for all Local Government Areas in Australia? Thanks!
1
vote
1answer
196 views

Openlayers and KML layer projection issue

I'm not a GIS expert at all, but I've been asked to add a KML layer to an Openlayers map which probably needs some tweaks and that's where I get confused. Let say I have an Openlayers map with the ...
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
0
votes
1answer
895 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
0answers
116 views

Convert shape file to KML on QGIS

I want to convert a shapefile to a kml using QGIS. When I do it, the output I obtain is without atributtes. And I want a similar product as it is provided by shape2kml of zonum solutions. Thanks in ...
2
votes
3answers
276 views

Extrude Shapefile to KML based on field value

I would like to extrude shapefile polygons to a KML based on a value stored in the attribute table. I am hoping to do this using open source software (QGIS, FWTools, GDAL, etc.). I looked at ogr2ogr ...
0
votes
1answer
151 views

How can I convert a set of coordinates from a linestring to wkb for storage in postgis?

I have a set of coordinates that come from a kml file and I would like to convert them to wkb for storage in my postgis database. When I use st_geomfromkml, though, I get an error that says I have ...
0
votes
1answer
63 views

Adding KML to OpenLayers as a textstring

I am trying to display a kml as a vector Layer. I have it stored as a Perl scalar variable but have also tried setting it as a javascript variable. I've tried to separate bits of code that I got from ...
1
vote
3answers
2k views

How to project Google Earth KML files in ArcGIS so that they display properly?

I am sure my question has been answered in the past but I would really appreciate it if someone could help me with this... I have downloaded a KML point file from Google earth and I imported it into ...
1
vote
1answer
726 views

How to export from PostGIS to KML

What is the best way to export from PostGIS to KML using open source tools? Can I do it directly, or do I need to first export to shape files?
1
vote
1answer
99 views

How to convert a multi-band landsat RGB to a kml file using MAPTILER

I was able to use maptiler for converting a single raster (ortofoto geotiff obtained with UAV) into a kml file. Now I want to convert a RGB landsat into kml for visualisation in Google Earth. It is ...
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
4answers
3k views

Displaying a KML File on a Vector Layer in OpenLayers

This should be straight-forward, but I am beating my head over it. KML will not display. I have tried from same server and remote server to ensure it is not a cross-domain issue. The KML file loads ...
0
votes
1answer
227 views

Openlayers 2.12 - add selectFeature to button results in “Geometry Undefined”

I have modified the Openlayers mobile Vienna WMS example, and am trying to change the labelButton to allow selecting of features to open a popup. I think it is necessary to do this as on a touch ...
2
votes
2answers
99 views

What is the most appropriate technology for publishing Census (and other) data for small areas?

We have a web application which shows the (United Kingdom) Census data on thematic maps using client-side code (based on OpenLayers) and KML. // This section can be skipped // begin At the moment ...
1
vote
3answers
425 views

Export Shapefile To KML - Google Maps Layers/Tiles

I need to convert a shapefile (either polygon shp with millions of polygons or polyline shapefile derived from the polygons) into a format to use online in Google Maps. I currently use GDAL codes ...
1
vote
1answer
503 views

Import SketchUp created KML contour lines model to QGIS

There's a neat trick to create contour lines based on the GE 3D terrain using Sketch-Up. The resulting KML however is a model I have looked at ways of importing KML layers to QGIS, like it was ...
3
votes
1answer
723 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. ...
0
votes
3answers
668 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.
3
votes
2answers
931 views

Loading KML file with ESRI javascript API

I am trying to load a kml file using the ESRI javascript API v. 3.5. What I did with v. 2.6 no longer works. How do you add KML data with the latest esri javascript api? I am testing on my local ...
0
votes
0answers
114 views

Convert shapes in CSV to shape file

I have a csv file in which one of the fields contains a "shape" polygon in ESRI format. The other fields are textual, numerical, ext. How do I go about creating a layer from only the polygons in the ...