# QGIS: CSV を SHP に変換

このチュートリアルでは、CSVをSHP（シェープファイル）に変換します。以下に、これを行う手順を [QGIS](https://www.qgis.org/en/site/) デスクトップソフトウェアを使って説明します。

**重要**: CSV形式のデータには `経度` および `緯度` 列が含まれている必要があり、適切な地理参照マッピングを行えます。

**手順1**: 「レイヤー」>>「レイヤーを追加」>>「区切りテキストレイヤーを追加」を使用してインポートを開始します。

<figure><img src="/files/fb1d0ed9e44888c76c53949c8995a0b8dbc20841" alt=""><figcaption></figcaption></figure>

**手順2**: インポートパラメータを設定し、「追加」ボタンをクリックします。

1. CSVファイルのパスを指定します
2. 列の区切り文字を確認します。カンマである必要があります。
3. 最初の行を確認します。通常、属性名が含まれています。解析から除外する必要があります。
4. 緯度（X）と経度（Y）のデータを含むデータセットの列を選択します。
5. 座標参照系を設定します。通常はESPG:4326が使用されます。

<figure><img src="/files/8462333b09b18d6e1b4db640cf78e1c477549250" alt=""><figcaption></figcaption></figure>

後の期待される結果は **手順2** 次のようになります

<figure><img src="/files/50d4b0d29a96836327750238192a4b5ee741afc3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/d1934a70f698545389a85ce6b4f3d9855b7c2cfd" alt=""><figcaption></figcaption></figure>

**手順3**: 「マウス右ボタン」クリック >> 「エクスポート」 >> 「地物を別名で保存...」でエクスポート処理を開始します

<figure><img src="/files/fb9dd3f7e1f327cbb2d5ed3a35a5bc7fa433a5cd" alt=""><figcaption></figcaption></figure>

**手順4**: 適切なエクスポートオプションを設定し、「OK」をクリックします。

1. エクスポートするシェープファイルのパスを設定します。
2. 座標参照系（CRS）をESPG:4326に設定します。これはGeoPardで使用可能です。

<figure><img src="/files/fe4aa615a7ed4f105fcc4bb7ae3cced33ada9f66" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.geopard.tech/geopard-tutorials/jpn/gis-kuikkuhinto/qgis-csv-wo-shp-ni.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
