> For the complete documentation index, see [llms.txt](https://docs.geopard.tech/geopard-tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.geopard.tech/geopard-tutorials/jpn/tsu-webapuri/import-precision-agriculture-data/soil-data-shp-with-coordinates.md). Agents can also search and read this documentation through its [MCP server](https://docs.geopard.tech/geopard-tutorials/~gitbook/mcp).

# 土壌データ（shp、座標付き）

マッピングと農学分析のため、位置情報付き土壌データをシェープファイル形式で取り込みます。

## 概要

土壌の化学分析は、作物栽培において最も重要なデータレイヤーの一つです。通常、土壌情報は、格子状またはゾーン単位の方法で採取した圃場の土壌サンプルを分析する農業化学分析機関から得られます。具体的なファイルに含まれる土壌特性の数は、窒素（N）、リン（P）、カリウム（K）、陽イオン交換容量（CEC）、土壌有機物（OM）含有量などの主要栄養素が5～10項目の場合から、すべての微量栄養素の特性を含む40～50項目の場合までさまざまです。

土壌サンプリングファイルをGeoPard Agricultureにアップロードすると、ファイル内の各属性をヒートマップで簡単に確認できます。さらに、任意の属性に基づいて管理ゾーンを作成し、過去の作物生産性などの他のレイヤーと比較したり、可変施肥用の処方ファイルを作成したりできます。

## 土壌データをアップロード

土壌ファイルを **データのアップロード** ページ（**データのインポート**）にドラッグするか、 **ファイルを参照**をクリックします。ShapefileはZIP形式でも、圧縮せずにアップロードしてもかまいません。CSVまたはExcel形式の分析結果も同じ場所からアップロードできます。詳しくは、 [土壌分析結果（CSV/Excel）- スマートインポート](https://docs.geopard.tech/geopard-tutorials/jpn/tsu-webapuri/import-precision-agriculture-data/soil-lab-results-csv-excel-smart-import.md).

1. ファイルは **土壌データ**の下に表示されます。各データセットを地図で確認するには、 **確認** をクリックします。
2. 各データセットは、圃場に次のように紐付けられます： **既存の圃場に紐付け**, **アップロードした境界に紐付け** または **紐付け先の圃場なし**。取り込み先は **取り込み先の圃場を選択**で変更できます。圃場が紐付いていないデータセットには、データの範囲に沿って新しい圃場が作成されます。圃場名と農場を指定してください。
3. 行の **列を編集** をクリックすると、列名を変更したり、単位を設定したりできます。テクスチャ区分などのテキスト列も含め、すべての列がインポートされます。
4. 確認してインポート **をクリックします。**.

{% @arcade/embed url="<https://app.arcade.software/share/s1OSpuNusYJWEslv3WdU>" flowId="s1OSpuNusYJWEslv3WdU" %}

制限事項：

* 1ファイルあたり最大100 MB
* ポリゴンデータにはWGS84（EPSG:4326）を使用してください。別の座標系のポイントデータは、 `.prj` ファイルが含まれている場合、インポート時に変換されます
* 列名は最大10文字で、使用できるのは英字A～Z、数字、および `_`です。必要に応じて、確認画面で列名を変更してください

土壌データセットは、圃場の **土壌データ** セクションに表示され、ゾーンマップの作成や施用量の計算に利用できます。

<figure><img src="https://1993076779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FXZ0IqnhCyWcabxcrwOtS%2Fimage.png?alt=media&amp;token=a55fd0ee-1ad8-49e5-aefa-17122e7573e6" alt=""><figcaption><p>アップロード済み土壌サンプリングデータセット</p></figcaption></figure>

## わかりやすい属性名と単位

GeoPardは、土壌データセットの属性に対して <mark style="background-color:yellow;">わかりやすい名称と単位</mark>をサポートしています。この機能を有効にするには、アップロードするアーカイブにメタデータを含む追加の <mark style="background-color:yellow;">JSON</mark> ファイルを含め、ファイル名を `<shapefile_name>-Metadata.json`にする必要があります。このファイルには、Shapefile内の列の解釈方法に関する詳細が記載されています。

<figure><img src="https://1993076779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FTwpgxC8zmNHLwzmvVCp4%2Fimage.png?alt=media&amp;token=ccb28676-8996-4c86-a8e4-cd9b12ef957b" alt="" width="312"><figcaption><p>アーカイブの構成：ShapefileとメタデータJSON</p></figcaption></figure>

### JSONファイルの例

```json
{
  "Version": "1.0",
  "FarmName": "農場名",
  "FieldName": "圃場名",
  "Operation": "SoilSampling",
  "CropSeason": 2022,
  "FieldOperationDate": "2022-08-15T12:58:32.76Z",
  "DataAttributes": [
    {
      "Name": "Id",
      "Description": "サンプル番号"
    },
    {
      "Name": "N",
      "Unit": "mg1kg-1",
      "Description": "無機態窒素"
    },
    {
      "Name": "K2O",
      "Unit": "mg1kg-1",
      "Description": "交換性カリウム"
    },
    {
      "Name": "P2O5",
      "Unit": "mg1kg-1",
      "Description": "可給態リン"
    },
    {
      "Name": "pH",
      "Description": "土壌酸度"
    }
  ]
}
```

メタデータJSONの構造の説明：

* `DataAttributes` 各シェープファイル列のメタデータが含まれます。
  * `Name`シェープファイルの列名です。
  * `Description` 属性のわかりやすい名称です。
  * `Unit` 属性の測定単位です（下記の対応単位の表を参照）。
* `FieldOperationDate` 土壌データの収集日です。
* `CropSeason` 作付シーズンの年です。
* `Operation` 作業名です。例： `SoilSampling` または `SoilScanning`.

### 対応単位

| 単位          | 単位の説明         |
| ----------- | ------------- |
| prcnt       | パーセント         |
| prcnt-1     | パーセントあたり      |
| ppm         | 百万分率          |
| points      | ポイント          |
| in          | インチ           |
| ft          | フィート          |
| mm          | ミリメートル        |
| cm          | センチメートル       |
| m           | メートル          |
| yd          | ヤード           |
| mi          | マイル           |
| km          | キロメートル        |
| m2          | 平方メートル        |
| ac          | エーカー          |
| ha          | ヘクタール         |
| ft2         | 平方フィート        |
| ac-1        | エーカーあたり       |
| ha-1        | ヘクタールあたり      |
| kg          | キログラム         |
| lb          | ポンド           |
| ton         | トン            |
| t           | メートルトン        |
| cwt         | ハンドレッドウェイト    |
| dg          | デシグラム         |
| g           | グラム           |
| ozm         | 重量オンス         |
| kg-1        | キログラム当たり      |
| lb-1        | ポンド当たり        |
| ton-1       | トン当たり         |
| t-1         | メートルトン当たり     |
| cwt-1       | ハンドレッドウェイト当たり |
| dg-1        | デシグラム当たり      |
| g-1         | グラム当たり        |
| ozm-1       | 重量オンス当たり      |
| gal         | ガロン           |
| igal        | 英ガロン          |
| thsndgal    | 千ガロン          |
| floz        | 液量オンス         |
| pt          | パイント          |
| qt          | クォート          |
| l           | リットル          |
| kl          | キロリットル        |
| hl          | ヘクトリットル       |
| ml          | ミリリットル        |
| ul          | マイクロリットル      |
| yd3         | 立方ヤード         |
| m3          | 立方メートル        |
| gal-1       | ガロンあたり        |
| igal-1      | 英ガロンあたり       |
| thsndgal-1  | 千ガロンあたり       |
| floz-1      | 液量オンスあたり      |
| pt-1        | パイントあたり       |
| qt-1        | クォートあたり       |
| l-1         | リットルあたり       |
| kl-1        | キロリットルあたり     |
| hl-1        | ヘクトリットルあたり    |
| ml-1        | ミリリットルあたり     |
| ul-1        | マイクロリットルあたり   |
| sec         | 秒             |
| ms          | ミリ秒           |
| min         | 分             |
| hr          | 時間            |
| day         | 日             |
| hr-1        | 時間あたり         |
| arcdeg      | 角度（進行方向）      |
| bu          | ブッシェル         |
| bag         | 袋（種子の積載量）     |
| sack        | サック（種子の積載量）   |
| container   | コンテナ          |
| container-1 | コンテナあたり       |
| bu-1        | ブッシェルあたり      |
| bag-1       | 袋あたり          |
| sack-1      | 麻袋あたり         |
| hz          | ヘルツ           |
| ratio       | 比率            |
| K           | ケルビン（温度）      |
| F           | 華氏（温度）        |
| C           | 摂氏（温度）        |

### 土壌データセットの例

以下は、土壌データセットを含むシェープファイル用に先ほど共有したMetadata.jsonファイルがどのように適用されるかを示すGeoPardのスクリーンショットです。

<figure><img src="https://1993076779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FhN3CIGfvuhUT9b0wqit0%2Fimage.png?alt=media&amp;token=47631c3d-509e-4154-b257-d08ebc31b589" alt=""><figcaption><p>属性名と単位を分かりやすく表示した土壌データセット</p></figcaption></figure>

<figure><img src="https://1993076779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FbM2AxbWyHBv9zEoPHXP1%2Fimage.png?alt=media&amp;token=b8fa3206-a6c5-4d46-902d-754eafb14e20" alt=""><figcaption><p>属性名と単位を分かりやすく表示した土壌データセット</p></figcaption></figure>

## 参考資料

参照： [ゾーンマップの章](https://docs.geopard.tech/geopard-tutorials/jpn/tsu-webapuri/zones-maps-and-analytics.md) 土壌データを使ってZonesMapを作成する方法について詳しく説明しています。

GeoPardは、ゾーン別土壌サンプリングの適切な計画にも役立ちます。過去の作物生育パターンを反映するGeoPardの複数年ゾーンに基づいて、土壌サンプリング地点とルートを計画できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.geopard.tech/geopard-tutorials/jpn/tsu-webapuri/import-precision-agriculture-data/soil-data-shp-with-coordinates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
