KML 🌍

KML (Keyhole Markup Language)

Open Beta
.kml · application/vnd.google-earth.kml+xml

KML är Google Earth-formatet för visualisering av geodata på en virtuell glob. Lämpligt för presentationer, utbildningsprojekt och kundkommunikation.

Exportera KML nu ✨ Öppen beta — gratis, inga begränsningar

Viktiga funktioner

Kompatibel med Google Earth
Stilar och ikoner
3D-stöd
XML-format
Example KML export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Om formatet KML

KML is a language for describing geographic data, invented for Google Earth and later adopted as an OGC standard. The file is text: inside are placemarks, lines, outlines, their styles and labels. It opens with a double click in Google Earth and attaches in Google My Maps, QGIS and ArcGIS.

OpenStreetMap maps are exported to KML when the result has to be shown to another person: a client, colleagues, students. The features land on the globe, a click shows their properties, and the file itself can be sent by email — the recipient needs no GIS, Google Earth is enough.

In the file all the layers are laid out in folders named after the layers, each feature keeps its OSM tags in the ExtendedData block, and lines and fills get a color and a width. Coordinates are WGS84, as the specification requires. Roads, water and greenery lie on the ground surface, while buildings are extruded into volume: height is taken from the height tag, or computed from the floor count in building:levels at 3.5 meters per floor, and if neither is present the house gets six meters.

In Google Earth such an export looks like a three-dimensional city right away. If you do not need the volume, switch the buildings layer off in the tree on the left. For sending by email KMZ is handier — the same document in compressed form.

Vilket program öppnar KML-filer

Följande program och applikationer kan öppna, redigera och arbeta med KML (Keyhole Markup Language)-filer (.kml) som exporterats från OSM2CDR:

🌐Google Earth 🌐Google Maps 🌎QGIS 🌎ArcGIS 💻Marble

Format specifications

Vem använder KML-kartor

🏗
Google Earth
The file opens with a double click, and the features land on the globe together with their labels.
💻
Presentationer
A clear presentation of the territory to a client with no GIS software on their computer.
📊
Utbildningsprojekt
Ready material for a geography lesson: layers switch on and off in front of the class.
🎨
Ruttvisualisering
Route lines and points on a three-dimensional globe, with the option to fly over them.
🗺
Turism
Landmarks and trails of a district as placemarks that anyone can see on their own computer.

Så exporterar du KML

1
Välj område
Rita en rektangel eller polygon på den interaktiva kartan på osm2cdr.ru
2
Välj KML
Välj KML (Keyhole Markup Language) från listan med 127 tillgängliga exportformat
3
Exportera
Klicka på Exportera och få din .kml-fil på 1–5 minuter
4
Ladda ner
Ladda ner den färdiga KML-filen och öppna den i Google Earth

Så öppnar du filen efter exporten

Populära kartor i KML

Free

Hämta kartexporter i KML (Keyhole Markup Language)

Ladda ner professionella KML-kartor från OpenStreetMap. Direktgenerering, valfritt område.

Gratis / export
Exportera KML nu →

Vanliga frågor

Vad är skillnaden mellan KML och KMZ?
Kan jag öppna KML i QGIS?
Are feature attributes preserved?
Why are the buildings three-dimensional in Google Earth?
The file came out too large — what should I do?
How do I get KML out of a GPX track?

Jämför med andra format

Relaterade format

Ofta exporterade tillsammans

Related Articles