# QGIS: Convertir CSV a SHP

El tutorial ayuda a convertir CSV en SHP (shapefile). A continuación se muestran los pasos para hacerlo usando [QGIS](https://www.qgis.org/en/site/) software de escritorio.

**IMPORTANTE**: Los datos en formato CSV deben contener `longitud` y `latitud` columnas para realizar el mapeo georreferenciado adecuado.

**PASO 1**: Inicie el proceso de importación usando "Capa" >> "Añadir capa" >> "Añadir capa de texto delimitado".

<figure><img src="/files/1d155c8c694fe8d8f460a4602d86b554cfcd1bb9" alt=""><figcaption></figcaption></figure>

**PASO 2**: Configure los parámetros de importación y haga clic en el botón "Añadir".

1. Defina la ruta del archivo CSV
2. Verifique el separador de columnas, debe ser una coma.
3. Revise la primera fila. Normalmente, contiene los nombres de los atributos. Debe excluirse del análisis.
4. Seleccione las columnas del conjunto de datos con datos de Latitud (X) y Longitud (Y).
5. Establezca el Sistema de Referencia de Coordenadas. Normalmente, se usa ESPG:4326.

<figure><img src="/files/4d17df508c0d5c747a36e17b36800dd1260ad275" alt=""><figcaption></figcaption></figure>

El resultado esperado después de **PASO 2** se ve así

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

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

**PASO 3**: Active el flujo de exportación mediante clic en el "Botón derecho del ratón" >> "Exportar" >> "Guardar entidades como ..."

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

**PASO 4**: Configure las opciones de exportación adecuadas y haga clic en "Ok".

1. Establezca la ruta del shapefile exportado.
2. Establezca el Sistema de Referencia de Coordenadas (CRS) en ESPG:4326, que es aceptado por GeoPard.

<figure><img src="/files/ffc2049ba535fb784603817961afb35825e3fead" 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/esp/consejos-rapidos-de-sig/qgis-convertir-csv-a-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.
