# QGIS: converti CSV in SHP

Il tutorial aiuta a convertire CSV in SHP (shapefile). Di seguito sono riportati i passaggi su come farlo utilizzando [QGIS](https://www.qgis.org/en/site/) software desktop.

**IMPORTANTE**: I dati in formato CSV devono contenere `longitudine` e `latitudine` colonne per creare la corretta mappatura della georeferenziazione.

**FASE 1**: Avvia il processo di importazione usando "Layer" >> "Aggiungi layer" >> "Aggiungi layer di testo delimitato".

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

**FASE 2**: Configura i parametri di importazione e fai clic sul pulsante "Aggiungi".

1. Definisci il percorso del file CSV
2. Controlla il separatore di colonna, dovrebbe essere una virgola.
3. Controlla la prima riga. Di solito contiene i nomi degli attributi. Deve essere esclusa dall'analisi.
4. Seleziona le colonne del dataset con i dati di Latitudine (X) e Longitudine (Y).
5. Imposta il Sistema di Riferimento delle Coordinate. Di solito si usa ESPG:4326.

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

Il risultato atteso dopo **FASE 2** assomiglia a

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

<figure><img src="/files/332539e3d73cad3e1eda3df97536aff7a1703e94" alt=""><figcaption></figcaption></figure>

**FASE 3**: Avvia il flusso di esportazione tramite clic con il "Tasto destro del mouse" >> "Esporta" >> "Salva elementi come ..."

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

**FASE 4**: Configura le corrette opzioni di esportazione e fai clic su "Ok".

1. Imposta il percorso dello shapefile esportato.
2. Imposta il Sistema di Riferimento delle Coordinate (CRS) su ESPG:4326, che è accettato da GeoPard.

<figure><img src="/files/a2668623133ea78d8de99e402dffe9bf0a982e90" 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/it/suggerimenti-rapidi-gis/qgis-converti-csv-in-shp.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.
