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
354 views

Convert shape file to kml without losing symbols

I am using QGIS 2.2 and want to convert a shape file containing point coordinates with userdefined svg-symbols to a kml file. Everything seems to work. The orginal file is in WGS 84 / UTM zone 32N ...
2
votes
1answer
201 views

Why does the file size increase after I clipped the polygons to be smaller?

I have a polygon layer that shows properties along a road. I want to create a kml-file of the polygons, and to downsize the file, I tried clipping the properties with a buffer. But, the filesize of ...
1
vote
0answers
39 views

Selected output format is not supported with this function? Wikimapia API

I have been trying with limited luck to instigate the &format=kml with the place.getbyarea function. I have been trying to isolate any additional paramater that might be conflicting with the ...
1
vote
0answers
50 views

kml to kml conversion with XSL

I have a simple KML file witch I get with ogr2ogr where all placemark are 2D polygon like this one : <Placemark> <Style> ...
1
vote
2answers
228 views

invalid KML representation on ST_GeomFromKML

I exported a table with a geography(MultiPolygon,4326) column using ogr2ogr to a KML file. When trying to re-import any of the shapes using the ST_GeomFromKML function I get the following error: ...
0
votes
0answers
218 views

QGis, how to overlay and correctly position and scale a KML and image onto a Google base map

Being totally new to the entire GIS subject I managed to install and get runnning QGis (2.2.0 on Mac) properly, get my Google Maps showing (I set the the CRS to WPSG:3857) and I also got my KML file ...
1
vote
1answer
169 views

Open KML Photos In Default Desktop Application

I have created a KML file containing several thousand placemarks. The description contains a simple HTML tag referencing a location on local disk, pointing to a JPG photograph. The photos display ...
1
vote
2answers
588 views

Openlayers: Get Start and End Points of Line Vector Features

I'm trying hard to get start and end of lines from a vector. The line vector is loaded from a kml-file. For now, I tried to iterate over features in the vector and grab the start point and put it in a ...
0
votes
1answer
147 views

Why can't I open a kml layer?

I thought that I could open kml layer like a normal vector layer but it doesn't work (it says "invalid datasource"). How can I open a kml layer in QGIS? Or how can I open it anyway, I never worked ith ...
1
vote
1answer
351 views

How to draw an arc by centerpoint, radius and azimuth in KML

The question is how to generate lon/lat coordinates for an arc/sector. Coordinates can be used/filled into a KML file. Pointers to geometric formula or a program applying the formula are much ...
1
vote
1answer
1k views

Getting “Points of LinearRing do not form a closed linestring”

I downloaded the data provided here as KML, exported to ESRI Shapefile format, checked it on QGIS and everything looked fine. Upon trying to use the layermapping utility of Geodjango I am getting ...
0
votes
1answer
167 views

Problem with adding placemark from kml file with specific id

I have a problem with adding a vector layer from kml file. I am trying to make XMLHttpRequest and add only a placemark with specific id. Nothing is displaying on the map. Request is successful and ...
0
votes
0answers
148 views

Convert Shp to KML error org2org Error4

I am attempting to convert Shp file to Kml using command line org2org application. I have used this in the past to convert more simple shp files and was sucessful. However I get an error message when ...
3
votes
1answer
2k views

ogr2ogr : Converting KML to GeoJson

I have a requirement convert .HML file to GeoJSON or JSON. Can you please recommend open source command line tools on GNU/Linux(2.6.32-358.14.1.el6.x86_64)? I have installed gdal, I am getting beloow ...
3
votes
2answers
199 views

Why do I get an empty shapefile when converting this KMZ in QGIS?

I have downloaded a KMZ file containing global elevation information. I have tried to convert the data to a shapefile using qgis (save as shape option) and using the zonum solutions website but both ...
0
votes
1answer
309 views

How to organize a kml created from a shapefile in QGIS?

I have a shapefile that I would like to export into a kml to share it with my colleagues. This shapefile contains a few hundred polygons. I have QGis 2.2.0 on Windows 7. I would like to create a kml ...
2
votes
0answers
620 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 ...
2
votes
1answer
353 views

How to georeference an image in ArcMap, using coordinates from a KML file

My starting point is KML file containing a PNG image, which displays correctly in Google Earth: From Google Earth I choose > Save Place As > KML, which gives me the unprojected PNG file, plus ...
0
votes
1answer
191 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
250 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 ...
1
vote
2answers
56 views

ogr2ogr MIF to KML fails on writing kml in linux

I have a bunch of MIF files which I would like to translate to KML format. ogr2ogr -f "KML" geo-mif geo-kml FAILURE: Unable to open datasource `geo-kml' with the following drivers. seems that ...
2
votes
2answers
472 views

Simplify Multigeometry polygons in QGIS

I am really new to QGIS and KML so this might be obvious but I am too ignorant to know what to do. I have some KML files I would like to use in an application but they are much more complicated than ...
1
vote
1answer
173 views

Reprojecting kml in NAD27, 83 or WGS84 using QGis

I have downloaded a kml file from Google containing location of shops. The coordinates in that file are in lat/long. I have other shp files containing roads and territories. I am trying to have all ...
1
vote
1answer
83 views

why is map tiling computationally intensive?

I recently starting using gdal2tiles.py (and its parallel implementation) to generate tiled images from raster datasets for kml interpretation and I'm shocked by how computationally intensive the ...
3
votes
1answer
260 views

Loading multiple feature types as one layer in OpenLayers

I have a kml file which contains some polygon and some point features in the same file. I am trying to load and view this layer on my basemap in OpenLayers. The problem is that the polygon features ...
-1
votes
1answer
387 views

How to parse data from KML to shapefile with ArcGIS ModelBuilder?

In ModelBuilder of ArcGIS 10.2 does there exist a method or routine for parsing data from a KML file and "print" this data in a shapefile or convert this data a to shapefile?
0
votes
1answer
96 views

Match bicycle routes to street lines

I have a KML layer of bicycle routes and a street line layer. Using either ArcGIS or QGIS, how can I select the streets that correspond to the bicycle routes?
0
votes
0answers
310 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 ...
0
votes
2answers
971 views

Get points from a kml LineString

I have a KML file with a LineString. I'm trying to load the points in Python. I'd like to use the FastKml library, but am open to other solutions. FastKml has one example for reading KML, but I have ...
1
vote
2answers
285 views

KML Balloon Not Showing Up In <Folder>

I've created a perl script to create multiple line files from points. It iterates through, creates everything as expected. When you hover over a line, I get a balloon with all of the attribute ...
0
votes
0answers
220 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
119 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 ...
1
vote
0answers
81 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
1answer
525 views

Transpose (copy) Google Earth geometry to different location?

I just tried to copy a folder of concentric radius circles to a different location (different centerpoint) in Google Earth Pro & quickly discovered this does not work. Is there anyway to transpose ...
1
vote
1answer
165 views

Why can't QGIS open my KML file? [closed]

I have a kml file with multiple absolutely identical polygons but with different names. I need to load it to qgis and find points in these polygons. But I guess qgis thinks that multiple duplicated ...
1
vote
1answer
246 views

How do you export features in OpenLayers 2.13?

I'm new to OpenLayers (2.13). I saw in the example section that it is possible to draw features like lines, points and polygons. http://openlayers.org/dev/examples/draw-feature.html Quite ...
2
votes
1answer
295 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 ...
2
votes
2answers
7k views

Export directions from Google to KML?

I used Google to draw directions from one location to another location, but can't find a way to export it as KML so I can import it into my Android smartphone. Is there a way, or must directions be ...
2
votes
1answer
393 views

Problem with reading data from PostGIS as KML file using PHP

I am using the following PHP code in order to read data from PostGIS and save it in KML format as a file. When I load the page a document with ".PHP" extension is returned (not .kml) which inside has ...
3
votes
1answer
981 views

Converting multilayer KML files to GeoJSON using ogr2ogr

I have a kml file that I'm trying to convert to GeoJSON. However, it turns out there's multiple layers, and ogr2ogr isn't happy. $ ogr2ogr -f GeoJSON shapes.json shapes.kml ERROR 6: GeoJSON driver ...
0
votes
1answer
52 views

querying order with different polygons in Google Earth

I have different polygonal layers in google earth, on the same folder. One layer should not be queryable, the other one yes. If the non queryable layer is visualized, I cannot query the queryable ...
1
vote
1answer
111 views

How to get a kml from stored in a blob file of oracle with arcpy

How to get a kml from stored in a blob file of oracle with arcpy? i try get data or kml files contains in a database oracle in a field of a table, using cursos options of arcpy. import arcpy, os ...
3
votes
2answers
133 views

ESRI Image Service On Google Earth API

I've been started developing GoogleEarth API on web. I'm using GoogleEarth plugin 7.1.2 version. It is probably a simple question but I'm having trouble with that. I'm trying to integrate the ArcGIS ...
1
vote
1answer
169 views

Get Graphics from KML Layer in ArcGIS JS API

I just started working with the ArcGIS Javascript API and I was wondering how I would go about getting an array of Graphics from a KML layer. I do not know where to begin.
2
votes
2answers
511 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 ...
1
vote
0answers
32 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?
0
votes
0answers
415 views

Openlayers can't get KML layer to work

I'm trying to load multiple KML layers with this example project from openlayers.org I can make the KML work in almost all other examples but somehow this code doesen't load. It even breaks the code ...
1
vote
1answer
96 views

KML file saved from KMZ missing tabular data

I saved a KML file in Google Earth from this KMZ ... https://www.rampp-team.com/documents/pennsylvania/watershed/LowerSusquehanna/lancaster_pa/Lancaster_CSLF.zip . Upon opening the KML file in QGIS, ...
1
vote
0answers
43 views

Mapwindow and XTools error: XSI is an undeclared namespace

I have tried MapWindow and XTools and have gotten this same error both times when trying to import a KML file into Shapefile format. Does anyone know how I can eliminate this error message? "There ...
3
votes
4answers
555 views

Converting KML files to shapefiles ArcView license level of ArcGIS for Desktop?

I only have an ArcView 9.3 license at work. What's the best way to convert a large KML file to SHP format? I tried the DNRGarmin tool to import, but the file was too large for that particular ...