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
0answers
144 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 ...
12
votes
2answers
6k views

ogr2ogr converting to shapefile - how to select feature types?

Shapefiles can only have one geometry type, but many other formats (kml, geojson) can have multiple types. When converting to shapefiles, is it possible to to tell ogr2ogr to create multiple ...
4
votes
1answer
223 views

ArcGIS 10 Time series to kml

Hey all I am having trouble with the KML export. My time series will not work properly in google earth, it has time start in 0001 when it should start in the year 2001. My incidents time is coded ...
1
vote
1answer
2k views

adding kml to google maps

I am trying to overlay the KML file over google maps and want to know where I can host the kml file which I will then be able to add to the google maps. I tried using google drive and dropbox but they ...
1
vote
1answer
297 views

How can the scale be projected correctly in Quantum GIS when it is imported from google earth (KML) files?

While importing KML files from google Earth to Quantum GIS, the scale is not being projected properly and the area of a particular selected feature is not being calculated in the attribute table by ...
2
votes
1answer
256 views

only 1 tile visible in GE after gdal_translate -of KMLSUPEROVERLAY

I have a 3-band ASTER scene in any of several formats (PCIDISK, GeoTIFF, Imagine), already reprojected to the geographic coordinate system. I can view and manipulate the scene successfully in PCI ...
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
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 ...
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 ...
2
votes
0answers
723 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 ...
0
votes
0answers
69 views

GIS web development [duplicate]

Possible Duplicate: Steps to Start Web Mapping I want to create a Web GIS using an open source software.Also the software should be capable of importing shape files and kml.I have good ...
2
votes
1answer
74 views

Can a KML Document use a URI as an ID?

Google's KML reference only states that a Document's ID attribute must be unique. Are there any other restrictions on the content used as an ID? Specifically, is there any reason a URI would be an ...
2
votes
1answer
3k views

KML PHP parser to INSERT into database

So I have a KML file which has attribute data(Inside the tag with about 12 data points). This file was generated on ArcGIS. I'm trying to write a PHP script to parse this KML file and insert the ...
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 ...
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?
5
votes
2answers
873 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 ...
5
votes
2answers
1k views

How do I export a 3GB ArcGIS Raster to KML w/o 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 ...
3
votes
2answers
930 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
664 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
239 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
428 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 ...
0
votes
1answer
1k 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
249 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
596 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, ...
6
votes
2answers
2k 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
445 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)?
5
votes
4answers
1k 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
638 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
7k 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
397 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
1k 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 ...
3
votes
1answer
4k 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
2k 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
342 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
501 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
762 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
393 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
730 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
560 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
3answers
6k 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
5k 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
1k 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
231 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
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: ...
14
votes
2answers
2k 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
1k 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
808 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
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 ...
0
votes
1answer
718 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
1answer
1k 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: ...