KML 入門用ドキュメント
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
KML を初めて使用する場合は、まず KML チュートリアルをご覧ください。このチュートリアルでは、Google Earth で表示できる KML コードの短いサンプルを紹介しています。
KML リファレンスでは、すべての KML 要素の詳細な構文が、指定方法の説明や図とともに記載されています。
デベロッパー ガイドでは、概念レベルで詳しく説明し、例を示します。
KML ファイルの作成と共有
KML ファイルは、Google Earth ユーザー インターフェースで作成できるほか、XML エディタやテキスト エディタを使ってはじめから作成することもできます。KML ファイルとその関連画像(ある場合)は、ZIP 形式を使用して KMZ アーカイブに圧縮できます。KML ファイルや KMZ ファイルを共有するには、メールで送付する、ローカルでホストしてプライベート インターネット内で共有する、ウェブ サーバー上でホストして公開する、などの方法があります。ウェブブラウザが HTML ファイルを表示するのと同様に、Google Earth などの Earth ブラウザは KML ファイルを表示します。サーバーを適切に構成して KML ファイルの URL(アドレス)を共有することで、Google Earth をインストールした人なら誰でも、お使いの公開ウェブ サーバー上でホストされた KML ファイルを見ることができます。
Google Earth、NASA WorldWind、ESRI ArcGIS Explorer、Adobe PhotoShop、AutoCAD、Yahoo! など、多くのアプリケーションで KML を表示できます。パイプ。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eNew KML users can start with the KML Tutorial for basic code samples and visualization in Google Earth.\u003c/p\u003e\n"],["\u003cp\u003eThe KML Reference offers detailed syntax and explanations for all KML elements.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can find in-depth conceptual material and examples in the Developer's Guide.\u003c/p\u003e\n"],["\u003cp\u003eKML files can be created using Google Earth or text editors, shared via email or web servers, and viewed in various Earth browsers like Google Earth.\u003c/p\u003e\n"],["\u003cp\u003eKML is supported by a wide range of applications, including Google Earth, NASA WorldWind, ESRI ArcGIS Explorer, and more.\u003c/p\u003e\n"]]],[],null,["# KML Documentation Introduction\n\nIf you're new to KML, begin by browsing the [*KML Tutorial*](/kml/documentation/kml_tut), which presents short samples of KML code that you can view in Google Earth.\n\nThe *[KML Reference](/kml/documentation/kmlreference)* provides detailed syntax for all KML elements, with explanations and diagrams of how to specify them.\n\nThe *[Developer's Guide](/kml/documentation/topicsinkml)* contains in-depth conceptual material and examples.\n\nCreating and Sharing KML Files\n------------------------------\n\nYou can create KML files with the Google Earth user interface, or you can use an XML or simple text editor to enter \"raw\" KML from scratch. KML files and their related images (if any) can be compressed using the ZIP format into KMZ archives. To share your KML and KMZ files, you can e-mail them, host them locally for sharing within a private internet, or host them publicly on a web server. Just as web browsers display HTML files, Earth browsers such as Google Earth display KML files. Once you've properly configured your server and shared the URL (address) of your KML files, anyone who's installed Google Earth can view the KML files hosted on your public web server.\n\nMany applications display KML, including Google Earth, NASA WorldWind, ESRI ArcGIS Explorer, Adobe PhotoShop, AutoCAD, and Yahoo! Pipes."]]