> 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).

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

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

## 概要

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

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

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

土壌データファイルをアップロードするには、 **データをインポート** メニューから **ファイルをアップロード** を選択します。\
次に、 **土壌データ**.

以下の制限にご注意ください：

* ポイントまたはポリゴン形式のデータに対応しているのは、WGS84（EPSG:4326）のシェープファイルのみです。
* 属性のデータ型は数値型（整数または実数）である必要があります（文字列型は使用できません）。
* ファイルの最大サイズは100 MBです。
* 属性名には、%+@ などの特殊記号をなるべく使用しないでください。
* 属性の上限は20個です。
* 各アーカイブは1つのデータセットとして扱われます（\*.shpファイルと\*.dbfファイルが必須です）。

<figure><img src="https://1993076779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FGKU31qoqUmAk8bQcGMFd%2Fimage.png?alt=media&amp;token=2612d80b-f5e5-4d55-ab2c-ba1a9794d82f" alt=""><figcaption><p>シェープファイルとして土壌データをアップロード</p></figcaption></figure>

1. 土壌データセットを1つまたは複数、パネルにドラッグ＆ドロップするか、 **参照** ボタンをクリックして、コンピューターからデータセットを選択します。
2. をクリックします。 **アップロード** ボタンをクリックします。GeoPardがファイルの要件を確認し、データを保存します。

確認ダイアログが表示され、データセットが正常にアップロードされたことを確認できます。

<figure><img src="https://1993076779-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-3b035e8c7a75cc969e6ff0a60dbe429bb082dc4e%2Fdocs-img-68213be4f4.png?alt=media" 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%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`にする必要があります。このファイルには、シェープファイル内の列の解釈方法が記載されています。

<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>アーカイブの構成：シェープファイルとメタデータ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        | マイクロリットルあたり   |
| 秒           | 秒             |
| ミリ秒         | ミリ秒           |
| 分           | 分             |
| 時間          | 時間            |
| 日           | 日             |
| hr-1        | 時間あたり         |
| arcdeg      | 弧度（方位）        |
| bu          | ブッシェル         |
| bag         | 袋（種子積載量）      |
| sack        | 麻袋（種子積載量）     |
| container   | コンテナ          |
| container-1 | コンテナあたり       |
| bu-1        | ブッシェルあたり      |
| bag-1       | 袋あたり          |
| sack-1      | 1袋あたり         |
| hz          | ヘルツ           |
| 比率          | 比率            |
| K           | ケルビン（温度）      |
| F           | 華氏（温度）        |
| C           | 摂氏（温度）        |

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

以下のGeoPardのスクリーンショットは、土壌データセットを含むシェープファイルに、先ほど紹介したMetadata.jsonファイルを適用した例を示しています。

<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) 土壌データを使ったゾーンマップの作成方法について、詳しく説明しています。

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.
