KML 🌍

KML (Keyhole Markup Language)

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

KML là định dạng của Google Earth để trực quan hóa dữ liệu địa lý trên quả địa cầu ảo. Phù hợp cho các bài thuyết trình, dự án giáo dục và trao đổi với khách hàng.

Xuất KML ngay ✨ Open Beta — miễn phí, không giới hạn

Tính năng chính

Tương thích Google Earth
Kiểu dáng và biểu tượng
Hỗ trợ 3D
Định dạng XML
Example KML export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

Giới thiệu về định dạng 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.

Chương trình nào mở được tệp KML

Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp KML (Keyhole Markup Language) (.kml) được xuất từ OSM2CDR:

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

Format specifications

Ai sử dụng bản đồ KML

🏗
Google Earth
The file opens with a double click, and the features land on the globe together with their labels.
💻
Trình bày
A clear presentation of the territory to a client with no GIS software on their computer.
📊
Dự án giáo dục
Ready material for a geography lesson: layers switch on and off in front of the class.
🎨
Trực quan hóa lộ trình
Route lines and points on a three-dimensional globe, with the option to fly over them.
🗺
Du lịch
Landmarks and trails of a district as placemarks that anyone can see on their own computer.

Cách xuất KML

1
Chọn khu vực
Vẽ một hình chữ nhật hoặc đa giác trên bản đồ tương tác tại osm2cdr.ru
2
Chọn KML
Chọn KML (Keyhole Markup Language) từ danh sách 127 định dạng xuất khả dụng
3
Xuất
Nhấn Xuất và nhận tệp .kml của bạn trong 1-5 phút
4
Tải xuống
Tải tệp KML đã sẵn sàng và mở trong Google Earth

Cách mở tệp sau khi xuất

Bản đồ phổ biến ở định dạng KML

Miễn phí

Nhận bản đồ xuất ở định dạng KML (Keyhole Markup Language)

Tải bản đồ KML chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.

Miễn phí / lần xuất
Xuất KML ngay →

Câu hỏi thường gặp

KML và KMZ khác nhau như thế nào?
Tôi có thể mở KML trong QGIS không?
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?

So sánh với các định dạng khác

Định dạng liên quan

Thường được xuất cùng nhau

Related Articles