Google Earth にデータをインポートする

Google Earth では、独自の地理空間データを取り込んで、表示、分析、共有できます。データのインポート方法は、ファイル形式、サイズ、使用方法に応じていくつかあります。

  • 地図対象物として: 最大 10,000 個の対象物または 250,000 個の頂点を含むシンプルな KML / KMZ ファイルに適しています。対象物は Google ドライブの Google Earth プロジェクトに直接追加され、編集可能です。大きすぎるファイルは、データレイヤとして自動的に読み込まれます。
  • データレイヤとして: 大規模なデータセット(KML、GeoJSON、シェイプファイル)に最適です。データレイヤはパフォーマンスを重視して最適化されており、Google Earth プロジェクトに埋め込まれ、Google ドライブに保存されます。スタイルを設定することはできますが、編集することはできません。データレイヤが Google Earth の保存容量の上限を使い切っている。
  • ローカル KML ファイルとして: デバイスに保存されている KML / KMZ ファイルを開きます。これらはドライブベースのプロジェクトの一部ではなく、開いたデバイスでのみ表示されます。

レイヤ、地図上の対象物、ローカル ファイルの違いについては、Google Earth プロジェクトとローカル KML ファイルについてをご覧ください。

パソコン向け Google Earth プロからウェブ向け Google Earth にデータを移行する場合は、パソコン向け Google Earth プロからウェブ向け Google Earth にデータを移行するをご覧ください。

パソコン

データレイヤーとしてインポート

この方法は、大規模なデータセットを可視化する場合に最適です。

サポートされているファイル形式:

  • KML、KMZ
  • GeoJSON
  • シェイプファイル(ZIP ファイル)
  • CSV(.csv)(試験運用版)
  • Google スプレッドシート(Google ドライブから)(試験運用版)

ファイルをデータレイヤとしてインポートするには:

  1. パソコンで Google Earth を開き、ログインしていることを確認します。
  2. インポートは、次のいくつかの方法で開始できます。
    • ホーム画面から: [新規] [ファイルをインポート] をクリックします。
    • プロジェクトのメニューから: [ファイル] [インポート] をクリックします。
  3. デバイスまたは Google ドライブからファイルを選択します。
  4. インポート ダイアログで、[データレイヤーとしてインポート] を選択します。ファイルが大きい場合や、地図機能に適していない場合は、このオプションが事前に選択されているか、このオプションしか選択できないことがあります。
    • KML 以外のすべてのファイル形式では、このオプションが事前に選択されています。
    • 表形式のデータセットは、Google Earth のデータレイヤとして取り込まれます。
  5. ファイルがアップロードされ、処理されます。インポート ウィジェットで進行状況を追跡できます。大きなファイルの場合、処理に時間がかかることがあります。

完了すると、レイヤが開いているプロジェクトに追加されます。プロジェクトが開いていない場合は、新しいプロジェクトに追加されます。

インポートされたデータレイヤには、Google Earth プランに基づく保存容量の上限が適用されます。詳細については、インポートされたデータレイヤとストレージを管理するをご覧ください。

CSV ファイルと Google スプレッドシート ファイルをインポートする(試験運用版)

次の表に、CSV ファイルと Google スプレッドシート ファイルでサポートされている形式を示します。

書式設定の種類 説明 例
緯度と経度(別々の列) WGS84 境界内の符号付き 10 進度(緯度 -90.0 ~ 90.0、経度 -180.0 ~ 180.0)の数値座標値を含む 2 つの個別の列。座標に度記号(°)や基本方位の文字(N、S、E、W)を含めることはできません。負の値は南緯と西経を表します。
name,latitude,longitude,category,elevation_m
Site A,37.4220,-122.0841,Research,12.5
Site B,37.4245,-122.0882,Park,14.0
Well-Known Text(WKT) 標準の WKT ジオメトリ(POINT、POLYGON、LINESTRING など)を含む列。座標は、標準の経度緯度順(POINT(-122.084 37.422) など)を使用して、WGS84 10 進数(経度 -180.0 ~ 180.0、緯度 -90.0 ~ 90.0)で指定する必要があります。WKT キーワードとヘッダーでは、大文字と小文字が区別されません。
name,geometry,status
Area 1,"POLYGON((-122.085 37.421, -122.083 37.421, -122.083 37.423, -122.085 37.423, -122.085 37.421))",Active
Marker 2,"POINT(-122.084 37.422)",Pending
住所の列 完全な番地を含む列。Google Earth は、1 列の番地を認識し、グローバルにジオコーディングします。
name,street_address,city,state,postal_code
Headquarters,1600 Amphitheatre Pkwy,Mountain View,CA,94043
Tokyo Office,Roppongi Hills Mori Tower,Minato City,Tokyo,106-6126

空間以外の追加の列(名前、日付、説明、カテゴリ、数値指標など)は、特徴属性として自動的に保持され、データテーブルとプロパティ検査カードに表示されます。

エラー処理

個々の行に無効な座標が含まれている場合や、ジオコーダで解決できない場合でも、Google Earth は他のすべての有効な行をインポートします。ファイル内でジオメトリを自動検出できない場合、インポート ダイアログにエラーが表示され、列の形式を確認するよう求められます。

Google Earth プロジェクトに機能をインポートする

この方法は、最大 10,000 個の対象物を含む KML ファイルまたは KMZ ファイルに適しています。

ファイルを既存のプロジェクトにインポートするには:

  1. パソコンで Google Earth を開き、ログインしていることを確認します。
  2. ホーム画面で、既存のプロジェクトをクリックします。
  3. 左上の [ファイル] [ファイルを {プロジェクト名} にインポート] をクリックします。
    • Google ドライブからファイルを追加するには、[ドライブからインポート] をクリックします。
    • パソコンから直接ファイルを追加するには、[デバイスからアップロード] をクリックします。
  4. インポートするファイルを選択します。
  5. 出力タイプの選択を求められたら、[Import as project features] を選択します。

インポートするファイルを選択すると、既存の Google Earth プロジェクトに自動的に追加されます。

ホーム画面に移動するには、Earth アイコン Google Earth ロゴ をクリックします。

ファイルを新しいプロジェクトにインポートする

以前のバージョンの Google Earth から新しいプロジェクトに KML ファイルまたは KMZ ファイル(最大 10,000 個の対象物を含む)をインポートできます。

ファイルを新しい Google Earth プロジェクトにインポートするには:

  1. パソコンで Google Earth を開きます。
  2. 左上の [新規] [プロジェクトにファイルをインポート] をクリックします。
    • Google ドライブからファイルを追加するには、[ドライブからインポート] をクリックします。
    • パソコンから直接ファイルを追加するには、[デバイスからアップロード] をクリックします。
  3. インポートするファイルを選択します。

インポートするファイルを選択すると、新しいプロジェクトが自動的に作成され、Google ドライブに保存されます。

ホーム画面に移動するには、Earth アイコン Google Earth ロゴ をクリックします。

マイマップのファイルを新しいプロジェクトにインポートする

Google マイマップで作成した地図を Google ドライブから直接開き、Google Earth のインターフェースで表示できます。

マイマップ ファイルを開いて変換するには:

  1. パソコンで Google Earth を開きます。
  2. [新規] > [ドライブからマイマップを開く] をクリックします。
  3. Google ドライブのウィンドウでマイマップ ファイルを見つけて選択し、[挿入] をクリックします。
    • マイマップのファイルが Google Earth に表示専用モードで表示されます。
  4. データを編集可能にするには、上部のツールバーで [地図プロジェクトにコピー] をクリックします(ウェブでのみ利用可能)。
  5. 必要に応じて、プロジェクトのタイトルを変更し、共有権限を更新するよう求められます。完了したら、[OK] をクリックします。

これで、地図が編集可能な新しい Google Earth 地図プロジェクトとして保存されました。元のマイマップ ファイルは Google ドライブにそのまま残ります。

Google Earth でローカル KML ファイルを開く

以前のバージョンの Google Earth の KML ファイルまたは KMZ ファイル(機能制限なし)をローカル KML ファイルとして開くことができます。

Google Earth でローカル KML ファイルを開くには:

1.  On your computer, open <a href="https://earth.google.com/">Google Earth</a>.
2.  At the bottom left on the home screen, click **Open local KML editor**.
3.  Click **Open KML from device**.
4.  Select the KML file you want to open.

After you select the file you want to open, any changes must be explicitly saved
or downloaded back to your computer's file system to avoid losing work. Autosave
is supported only on Chromium-based desktop browsers.

Note: You can open local KML files in Google Earth even if you're not signed in.

To go to the home screen, click Earth <img src="/maps/documentation/earth/images/earth-logo.png" class="inline-icon" alt="Google Earth
logo">.

## Import other file formats {:#import_other_file_formats}

Google Earth for web and mobile primarily supports KML, KMZ, GeoJSON, and
Shapefile (`.zip`) for direct import.

For [CSV and Google Sheets files](#import-csv-and-google-sheets-files),
Google Earth supports direct import as a data layer with automatic location
detection. For other vector or raster formats (for example, GPX), you can
convert these files to KML or CSV. Once converted to KML, you can import them
into Google Earth.

[Learn how to use KML
features](https://developers.google.com/kml/documentation/).

パソコン向け Google Earth プロから Google Earth ウェブ版にデータを移行する

If you are moving from Google Earth Pro (Desktop) to the web version, you can
bring your "My Places" data with you.

### Prepare your data for migration {:#prepare_your_data_for_migration}

Before importing, you must export your data from Google Earth Pro:

1.  Open **Google Earth Pro** on your computer.
1.  In the "Places" panel on the left, right-click on **My Places** or a
    specific folder.
1.  Select **Save Place As...**.
1.  Save the file as a `.kmz` or `.kml` to your computer.

If you cannot open Google Earth Pro or need to find the raw source files
(typically named `myplaces.kml`), they are stored in the following directories.

Note: These folders are often hidden by default.

#### Windows {:#windows}

Copy and paste the following path into your File Explorer address bar:
`%USERPROFILE%\AppData\Local\Google\GoogleEarth`.

Tip: If you are navigating manually, you may need to enable "Hidden items" under
the View tab in File Explorer to see the `AppData` folder.

#### macOS {:#macos}

Open Finder, press **Command** + **Shift** + **G**, and paste this path:
`~/Library/Application Support/Google Earth`.

What to look for:

-   `myplaces.kml`: This is your current, live data.
-   `myplaces.backup.kml`: A backup created the last time you launched the app.
-   `myplaces.kml.tmp`: A temporary file created during a session.

### Import capabilities and limitations {:#import_capabilities_and_limitations}

When migrating "My Places," your choice of import method depends on the
complexity of your data. For a detailed breakdown of supported KML elements,
refer to the [Google Earth KML Import
Guide](https://support.google.com/earth/community-guide/307322063/google-earth-kml-import-guide).

-   **Feature Counts**: If you intend to import your data as project features
    (allowing you to edit icons, lines, and shapes), there is a limit of
    approximately 10,000 features or 250,000 vertices per project. If an import
    exceeds these limits, Google Earth will automatically attempt to import your
    data as a read-only data layer instead.
-   **Large "My Places" Files**: For Google Earth Pro on desktop users that have
    "My Places" files that exceed 10,000 features or contain several megabytes
    of data we recommend you:
    -   **Split your data**: Divide your "My Places" into smaller, thematic
        folders in Earth Pro and save each as a separate `.kmz` file.
    -   **Import as Data Layers**: If you have tens of thousands of points and
        don't need to edit them individually, use the **Import as a data layer**
        option.
-   **Copy and Paste**: You can also copy individual features or folders from
    Google Earth Pro and paste them directly into a Google Earth project. Simply
    select the feature in the desktop version, right-click to Copy (**Ctrl** +
    **C** or **Cmd** + **C**), go to your Google Earth browser tab, and Paste
    (**Ctrl** + **V** or **Cmd** + **V**) while a project is open.

## Other viewing options {:#other_viewing_options}

For temporary, local-only access, you can also open your KML files directly in
Google Earth on web through the local KML editor experience.

Note: This mode does not support cloud storage or advanced project features.

To see data from multiple projects on the map at once, you can use the
[reference projects](https://medium.com/google-earth/enhancing-project-management-in-google-earth-a-guide-to-the-latest-updates-ad096c34d239)
feature.

Android

既存の Earth プロジェクトにファイルをインポートする

古いバージョンの Google Earth から既存の Earth プロジェクトに、シンプルな KML ファイルまたは KMZ ファイルをインポートできます。既存の Google Earth プロジェクトにファイルをインポートするには:

  1. Android スマートフォンまたはタブレットで Google Earth アプリ Google Earth ロゴ を開きます。
  2. ホーム画面で、既存のプロジェクトをタップします。
  3. 画面下部のその他アイコン [KML / KMZ をプロジェクトにインポートする] をタップします。
    • Google ドライブからファイルを追加するには、[ドライブからインポート] をタップします。
    • デバイスから直接ファイルを追加するには、[デバイスからアップロード] をタップします。
  4. インポートするファイルを選択します。
  5. 地図に戻ってファイルを開くには、 戻るアイコンをタップします。

インポートするファイルを選択すると、そのファイルは既存のプロジェクトに自動的に追加されます。

ファイルを新しいプロジェクトにインポートする

古いバージョンの Google Earth から既存のプロジェクトに、シンプルな KML ファイルまたは KMZ ファイルをインポートできます。ファイルを既存のプロジェクトにインポートするには:

  1. Android スマートフォンまたはタブレットで Google Earth アプリ Google Earth ロゴ を開きます。
  2. 下部の [新規] をタップします。
    • Google ドライブからファイルを追加するには、[ファイルをドライブからプロジェクトにインポート] をタップします。
    • デバイスから直接ファイルを追加するには、[ファイルをデバイスからプロジェクトにインポート] をタップします。
  3. インポートするファイルを選択します。
  4. 地図に戻ってファイルを開くには、 戻るアイコンをタップします。

インポートするファイルを選択すると、既存の Earth プロジェクトに自動的に追加されます。

Google Earth でローカル KML ファイルを開く

古いバージョンの Google Earth のシンプルな KML ファイルまたは KMZ ファイルを、ローカル KML ファイルとして開くことができます。Google Earth でローカル KML ファイルを開くには:

  1. Android スマートフォンまたはタブレットで Google Earth アプリ Google Earth ロゴ を開きます。
  2. ホーム画面で [ローカル] タブを選択します。
  3. 右下の [新規] [ローカル KML エディタ] をタップします。
  4. [デバイスから KML / KMZ を開く] を選択します。
  5. 地図に戻ってファイルを開くには、 戻るアイコンをタップします。

開くファイルを選択すると、そのファイルはホーム画面の [ローカル KML ファイル] タブに自動的に保存されます。

iOS

既存の Earth プロジェクトにファイルをインポートする

古いバージョンの Google Earth から既存の Earth プロジェクトに、シンプルな KML ファイルまたは KMZ ファイルをインポートできます。既存の Google Earth プロジェクトにファイルをインポートするには:

  1. iPhone または iPad で Google Earth アプリ Google Earth ロゴ を開きます。
  2. ホーム画面で、既存のプロジェクトをタップします。
  3. 画面下部のその他アイコン [KML / KMZ をプロジェクトにインポートする] をタップします。
    • Google ドライブからファイルを追加するには、[ドライブからインポート] をタップします。
    • デバイスから直接ファイルを追加するには、[デバイスからアップロード] をタップします。
  4. インポートするファイルを選択します。
  5. 地図に戻ってファイルを開くには、 戻るアイコンをタップします。

インポートするファイルを選択すると、そのファイルは既存のプロジェクトに自動的に追加されます。

ファイルを新しいプロジェクトにインポートする

古いバージョンの Google Earth から既存のプロジェクトに、シンプルな KML ファイルまたは KMZ ファイルをインポートできます。ファイルを既存のプロジェクトにインポートするには:

  1. iPhone または iPad で Google Earth アプリ Google Earth ロゴ を開きます。
  2. 下部の [新規] をタップします。
    • Google ドライブからファイルを追加するには、[ファイルをドライブからプロジェクトにインポート] をタップします。
    • デバイスから直接ファイルを追加するには、[ファイルをデバイスからプロジェクトにインポート] をタップします。
  3. インポートするファイルを選択します。
  4. 地図に戻ってファイルを開くには、 戻るアイコンをタップします。

インポートするファイルを選択すると、既存の Earth プロジェクトに自動的に追加されます。

Google Earth でローカル KML ファイルを開く

古いバージョンの Google Earth のシンプルな KML ファイルまたは KMZ ファイルを、ローカル KML ファイルとして開くことができます。Google Earth でローカル KML ファイルを開くには:

  1. iPhone または iPad で Google Earth アプリ Google Earth ロゴ を開きます。
  2. ホーム画面で [ローカル] タブを選択します。
  3. 右下の [新規] [ローカル KML エディタ] をタップします。
  4. [デバイスから KML / KMZ を開く] を選択します。
  5. 地図に戻ってファイルを開くには、 戻るアイコンをタップします。

開くファイルを選択すると、そのファイルはホーム画面の [ローカル KML ファイル] タブに自動的に保存されます。