> 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/esp/consejos-rapidos-de-sig/qgis-convert-csv-to-shp.md).

# QGIS: convertir un CSV de puntos en un shapefile

Carga en QGIS un CSV con latitud y longitud como capa de puntos (Añadir capa de texto delimitado), define EPSG:4326 y guárdalo como shapefile para importarlo.

En QGIS, selecciona Capa, Añadir capa, Añadir capa de texto delimitado, elige el archivo CSV, asigna la columna de longitud a X y la de latitud a Y, y establece el CRS en EPSG:4326 (WGS 84). Luego, haz clic derecho en la capa y selecciona Exportar, Guardar objetos como, ESRI Shapefile. Las columnas con números almacenados como texto necesitan [un paso más](https://docs.geopard.tech/geopard-tutorials/esp/consejos-rapidos-de-sig/qgis-change-string-to-number-values-in-the-shapefile.md).

{% hint style="success" %}
Omite la conversión: GeoPard importa directamente archivos CSV y Excel de análisis de suelo. [Empieza gratis](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-convert-csv-to-shp)
{% endhint %}

Este tutorial explica cómo convertir un archivo CSV a SHP (shapefile). A continuación, se indican los pasos para hacerlo con el software de escritorio [QGIS](https://www.qgis.org/en/site/) .

**IMPORTANTE**: Los datos en formato CSV deben incluir las columnas `longitude` y `latitude` para georreferenciar correctamente los datos.

**PASO 1**: Inicia el proceso de importación seleccionando «Capa» >> «Añadir capa» >> «Añadir capa de texto delimitado».

<figure><img src="https://2708050521-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>

**PASO 2**: Configura los parámetros de importación y haz clic en el botón «Añadir».

1. Indica la ruta al archivo CSV.
2. Comprueba el separador de columnas; debe ser una coma.
3. Comprueba la primera fila. Por lo general, contiene los nombres de los atributos y debe excluirse del análisis.
4. Selecciona las columnas del conjunto de datos que contienen la longitud (campo X) y la latitud (campo Y).
5. Establece el sistema de referencia de coordenadas. Por lo general, se usa EPSG:4326.

<figure><img src="https://2708050521-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>

El resultado esperado después del **PASO 2** tiene este aspecto:

<figure><img src="https://2708050521-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://2708050521-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>

**PASO 3**: Inicia la exportación haciendo clic con el botón derecho del ratón y seleccionando «Exportar» >> «Guardar objetos como...».

<figure><img src="https://2708050521-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>

**PASO 4**: Configura las opciones de exportación adecuadas y haz clic en «Aceptar».

1. Indica la ruta del shapefile exportado.
2. Establece el sistema de referencia de coordenadas (CRS) en EPSG:4326, compatible con GeoPard.

<figure><img src="https://2708050521-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>

{% hint style="success" %}
Omite la conversión: GeoPard importa directamente archivos CSV y Excel de análisis de suelo. [Empieza gratis](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-convert-csv-to-shp)
{% endhint %}


---

# 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/esp/consejos-rapidos-de-sig/qgis-convert-csv-to-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.
