KML 🌍

KML (Keyhole Markup Language)

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

KML 是 Google Earth 的格式,用于在虚拟地球上可视化地理数据。适用于演示、教学项目和客户沟通。

立即导出 KML ✨ Open Beta — 免费无限制

主要特点

兼容 Google Earth
样式与图标
支持 3D
XML 格式
KML 格式导出示例(莫斯科中心,1x0.5 公里)
示例:莫斯科中心区,约 1x0.5 公里,中等详细度

关于 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.

打开 KML 文件的程序

以下程序可以打开、编辑和处理从 OSM2CDR 导出的 KML (Keyhole Markup Language)(.kml)文件:

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

格式规格

谁在使用 KML 地图

🏗
Google Earth
The file opens with a double click, and the features land on the globe together with their labels.
💻
演示展示
A clear presentation of the territory to a client with no GIS software on their computer.
📊
教学项目
Ready material for a geography lesson: layers switch on and off in front of the class.
🎨
路线可视化
Route lines and points on a three-dimensional globe, with the option to fly over them.
🗺
旅游
Landmarks and trails of a district as placemarks that anyone can see on their own computer.

如何导出 KML

1
选择区域
在 osm2cdr 的交互式地图上绘制矩形或多边形
2
选择 KML
从 127 种可用导出格式中选择 KML (Keyhole Markup Language)
3
导出
点击导出,1–5 分钟内收到您的 .kml 文件
4
下载
下载完成的 KML 文件并在 Google Earth 中打开

导出后如何打开

KML 格式的热门地图

Free

导出 KML (Keyhole Markup Language) 地图

从 OpenStreetMap 下载专业的 KML 地图。即时生成,任意区域。

免费 / 导出
立即导出 KML →

常见问题

KML 和 KMZ 有什么区别?
我能在 QGIS 中打开 KML 吗?
Are feature attributes preserved?
Why are the buildings three-dimensional in Google Earth?
The file came out too large — what should I do?

与其他格式比较

相关格式

经常一起导出

Related Articles