> 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/giskuikkuhinto/qgis-yield-data-manipulations.md).

# QGIS: 収量データの加工

GeoPardにインポートまたは分析する前に、QGISで収量データを準備・クリーンアップします。

概要<br>

収量モニターのデータに関する次の問題を解決するための手順を、順を追って説明します。

1. シェープファイルに投影情報ファイル（.prj）がない
2. シェープファイル内の各属性に変換ルールを適用する（kg/haからbu/acへの変換例に基づく）

<br>

使用するソフトウェアはQGISです（[リンク](https://qgis.org/en/site/forusers/download.html)).

ダウンロードとインストールが必要です。

### 投影情報ファイルがない場合

1. 収量データを含むシェープファイルを開きます。ファイルをQGISのウィンドウ内にドラッグします。
2. シェープファイルが「レイヤ」パネルに表示され、編集できるようになります。

![](https://lh5.googleusercontent.com/c4jakjBa8tCN9ZSxVnh6W6DDE24qYFGewLdjTwPi7i0yg7-Zp6JmeXE4yiq3JqhaIFhFE8mHxyKzR9avluJzJpsaUxXSxzCI_RSV0GjJyPoAp7sNj_UdMyEBRNs38siTdV9Ue2VY75Prqu57rKtj)

3. 保存を開始する
4. 1. シェープファイルを右クリックします。
   2. 「エクスポート」→「地物を名前を付けて保存…」を選択します。

![](https://lh5.googleusercontent.com/4p2FP0E4GEnN0KTcCgRvXro6oam-GCTGgc_s4yjkuujdXxbnjyPT5a1Z1Dr_o9_W3rw2AhtUMSQ7-RXHx3Xeca2vtMjCGTRIS_BTifbKCXhthfrWy9z5Ti3Ve6kCPFnatunJJ_jGy8gBWOa85CZg)

<br>

4. 次の項目を選択します。
5. 1. 形式 -> ESRI Shapefile、
   2. ファイル名 -> …をクリックし、保存先のフォルダーとファイル名を指定、
   3. CRS -> EPSG:4326
   4. エンコーディング -> UTF8
   5. 保存したファイルを地図に追加（QGISですぐに表示する場合は有効にします）
   6. ジオメトリタイプ -> Point

![](https://lh4.googleusercontent.com/GUoerdddlqqyW1xQAGXkAc8txhiCnTrhL6B6HeM3gUsWgV9NatvqrjWtEQAHGsGzkS27fnsOM-QFuYuiafCUYdOOoy9AdKXJhp213uceDJuOxzfp01rMQnt4ruYoHjqhkE0iMl977pE_xfcwzaj9)

5. 「OK」をクリックします。
6. 同じ収量データを含むシェープファイルが新たに作成され、投影情報ファイル（.prj）が追加されます。

\ <br>

### BU/ACへの変換

<br>

1. シェープファイルを右クリックし、「属性テーブルを開く」を選択します。

![](https://lh6.googleusercontent.com/NdfMyO0879Gfs3hNy65xG-dS4Ny3LtNn89F6yhVTwHZ4NqbjM1YMaJ7EWje5ySzgJkcGXexg6BE0mQorWsTej_90QXtLN7uHUds-eLmSN2wJltszg4YWk63Cm0kpiJUcAvFi3K6rily96QzjCNRW)

2. 「フィールド計算機を開く」をクリックします。

![](https://lh4.googleusercontent.com/CfXuEr0pNJFpTvu-Z4-p2Dhu91MNhhTvzIsf_S0xft59X7MQfqnDlwQSQmgnAa6InPROgBWY-yPyviS31PzhMhlySfuC4AWpYrchxUr_XS9P29MxHg8m1_cKuLm5DzBvkboeNuCynf1gTaJQX3ox)

3. 新しいフィールドを作成します。
4. 1. 「新しいフィールドを作成」にチェックを入れます。
   2. 出力フィールド名 -> DryYieldBu と入力します。
   3. 出力フィールド型 -> 10進数（実数）を選択します。
   4. 精度を -> 4 に変更します。
   5. kg/haをbu/acに変換するルールを入力します -> "Dry\_Yield" \* 0.0149

![](https://lh6.googleusercontent.com/nE9n9fiD0geaw5ebrp1R1KtJgqnCQQz8AC9ulpvQvvtgQzxZed6n9Cs7zRBlGH0gK-fSDTu--LvBXw4_i7hWmw3k9dVzLdU24j9JVuCcdol9AGx3Byi38CRsNFWSRI3MN_I6fd71NGjcABMn7ENs)

4. 「OK」をクリックします。
5. DryYieldBu属性がテーブルに追加されます。

![](https://lh6.googleusercontent.com/S2PYA5-ZAkomBfAOe4g6AnTmu39STpYt3Bea4duzaNSIwODXOaY8m0h7hkj2SsnjlrDLCwuU94Bs9CNl_7SsZfDgBERfZ1RYSUvsrJBo-Wd8Tj4k_R6PkoELYfk2_XJfu3hcx0C43z0JTQuUbsYB)

6. 変更を保存します。
7. 1. 対象のシェープファイルを右クリックします。
   2. 「編集モードの切り替え」を選択します。

\
\
\ <br>

![](https://lh4.googleusercontent.com/Clwm4XcTG0N49JqJLZV9zJWpg0LPKeevU05w0d30F-PobS23vlVXcLp8MMPZif9rZs7ojl5SdymHz_FHQDdS1Pyz2y2dfhoL49au6C6y5A3huz_yFAcqvDcpKgB5XRh96oS97JBnxKSXWttWibVV)

7. 変更の保存を確定します。

![](https://lh5.googleusercontent.com/RYEl5WkYMsX2aNA-zO6hUEXO6OGnFD2JO0XfNmJ6tqirz5Bw2udMa2ZUGTA8ZuZZb__mv5AtvmC-fZouyMUwUTzNdIn8ahzJhFXwW2M9PPgHDfuc8Qqq6UpC-MkU-xgPv0yCzoOoZjy-kpPn7xBP)

対象のシェープファイルに鉛筆マークが表示されなくなり、データが更新されます。


---

# 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/giskuikkuhinto/qgis-yield-data-manipulations.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.
