> 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/fr/astuces-rapides-sig/qgis-convertir-csv-en-shp.md).

# QGIS : convertir CSV en SHP

Le tutoriel aide à convertir un CSV en SHP (shapefile). Ci-dessous, les étapes pour le faire en utilisant [QGIS](https://www.qgis.org/en/site/) logiciel de bureau.

**IMPORTANT**: Les données au format CSV doivent contenir `longitude` et `latitude` colonnes pour permettre un géoréférencement correct.

**ÉTAPE 1**: Lancez le processus d’importation via « Couche » >> « Ajouter une couche » >> « Ajouter une couche de texte délimité ».

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

**ÉTAPE 2**: Configurez les paramètres d’importation et cliquez sur le bouton « Ajouter ».

1. Définissez le chemin d’accès au fichier CSV
2. Vérifiez le séparateur de colonnes, il doit s’agir d’une virgule.
3. Vérifiez la première ligne. En général, elle contient les noms des attributs. Elle doit être exclue de l’analyse.
4. Sélectionnez les colonnes du jeu de données contenant les données de latitude (X) et de longitude (Y).
5. Définissez le système de référence des coordonnées. En général, ESPG:4326 est utilisé.

<figure><img src="/files/75e9065c645ad6ece8732eb4d2314c272b3762bb" alt=""><figcaption></figcaption></figure>

Le résultat attendu après **ÉTAPE 2** ressemble à

<figure><img src="/files/119c13547be5546fd831b42472fae521063c3e98" alt=""><figcaption></figcaption></figure>

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

**ÉTAPE 3**: Déclenchez le flux d’exportation via un clic droit >> « Exporter » >> « Enregistrer les entités sous ... »

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

**ÉTAPE 4**: Configurez les options d’exportation appropriées et cliquez sur « OK ».

1. Définissez le chemin du shapefile exporté.
2. Définissez le système de référence des coordonnées (CRS) sur ESPG:4326, qui est accepté par GeoPard.

<figure><img src="/files/5a688fd72853ad64e14618ae139bd792afb3e655" alt=""><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.geopard.tech/geopard-tutorials/fr/astuces-rapides-sig/qgis-convertir-csv-en-shp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
