> 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-un-csv-en-shp.md).

# QGIS : convertir un CSV en SHP

Convertissez des données ponctuelles CSV en shapefile dans QGIS pour l’importation dans GeoPard et l’utilisation SIG.

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="https://690567185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FBIPPWIDU0mD58A6YRiQ6%2Fimage.png?alt=media&amp;token=05d2513d-fcac-45df-ae9e-936a9885dcf8" 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="https://690567185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FVCf5bL5Xrykq2aEZ6Q9W%2Fimage.png?alt=media&amp;token=09a5224d-f75b-4336-9a7d-e323ae7ce3a8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://690567185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FN9vX1veE9xsSk1bJVXg1%2Fimage.png?alt=media&amp;token=9f1d50c7-c4de-4ede-a113-d3b46e9f629e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://690567185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FIG2NnPRO4DWyfeMREAIf%2Fimage.png?alt=media&amp;token=d6bd1615-0b2a-47fb-8347-651362da38bb" 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="https://690567185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2F1luGOh5y7DjyPBHFmVTw%2Fimage.png?alt=media&amp;token=7335197f-0bf2-4c94-8fd0-8a45689c9b43" 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="https://690567185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FxRyKrrluAvCZzifIbFKG%2Fimage.png?alt=media&amp;token=43b1e035-c165-4aca-807c-97c2bd43e445" 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 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/fr/astuces-rapides-sig/qgis-convertir-un-csv-en-shp.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.
