🍋
Menu
.kml Other

KML(Keyhole 标记语言)

KML 是一种基于 XML 的格式,用于在 Google 地球、Google 地图和其他地图应用中显示地理数据。它支持地标、路径、多边形、3D 模型、图像叠加和动画导览。

MIME 类型

application/vnd.google-earth.kml+xml

类型

文本

压缩

无损

优点

  • + Rich visualization — 3D models, tours, image overlays
  • + OGC standard with broad mapping tool support
  • + KMZ compression reduces file sizes for complex projects
  • + Native support in Google Earth and Google Maps

缺点

  • Primarily visualization-focused — not for geospatial analysis
  • Verbose XML syntax for complex features
  • GeoJSON is simpler and more common for web mapping

何时使用 .KML

使用 KML 创建 Google 地球演示、地理数据可视化以及分享带有地标和叠加层的地图图层。

技术细节

KML 使用 XML 表示地理元素:Placemark、Point、LineString、Polygon 和 GroundOverlay。坐标采用 WGS84 标准,按经度、纬度、海拔顺序排列。KMZ 是 KML 的压缩(ZIP)变体。

历史

Keyhole Inc. 为其 EarthViewer 3D 应用开发了 KML。Google 于 2004 年收购了 Keyhole(更名为 Google 地球),KML 于 2008 年成为 OGC(开放地理空间联盟)标准。

从 .KML 转换

转换为 .KML

相关格式