KML 🌍

KML (Keyhole Markup Language)

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

KML és el format de Google Earth per a la visualització de geodades sobre un globus virtual. Adequat per a presentacions, projectes educatius i la comunicació amb clients.

Exporta KML ara ✨ Beta oberta — gratuït, sense límits

Característiques clau

Compatible amb Google Earth
Estils i icones
Compatibilitat amb 3D
Format XML
Example KML export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Sobre el format 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.

Quin programa obre els fitxers KML

Els programes i les aplicacions següents poden obrir, editar i treballar amb fitxers KML (Keyhole Markup Language) (.kml) exportats des d'OSM2CDR:

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

Format specifications

Qui utilitza els mapes KML

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

Com exportar KML

1
Selecciona l'àrea
Dibuixa un rectangle o un polígon al mapa interactiu d'osm2cdr.ru
2
Tria KML
Tria KML (Keyhole Markup Language) de la llista de 127 formats d'exportació disponibles
3
Exporta
Fes clic a Exporta i rep el fitxer .kml en 1-5 minuts
4
Descarrega
Descarrega el fitxer KML llest i obre'l amb Google Earth

Com obrir el fitxer després de l'exportació

Mapes populars en KML

Free

Obtingues exportacions de mapes KML (Keyhole Markup Language)

Descarrega mapes KML professionals d'OpenStreetMap. Generació instantània, qualsevol àrea.

Gratuït / exportació
Exporta KML ara →

Preguntes freqüents

Quina diferència hi ha entre KML i KMZ?
Puc obrir un KML a 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?

Compara amb altres formats

Formats relacionats

Sovint exportats junts

Related Articles