> 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/bg/brzi-gis-sveti/qgis-razdelyane-na-shapefile-i-s-mnogo-poleta.md).

# QGIS: Разделяне на shapefile-и с много полета

Разделете shapefile с няколко полета на отделни shapefile-и за границите на полетата в QGIS за импорт в GeoPard.

Ако един shapefile съдържа няколко полигонa на полета, разделете го преди импорт. GeoPard импортира една граница на поле на shapefile. Този работен процес в QGIS ви помага по-бързо да подготвяте чисти файлове и да избегнете проблеми при импорта.

### Преди да започнете

* Уверете се, че слойът има уникално име или ID на полето.
* Създайте предварително празна изходна папка.
* Премахнете `/`, `\`, и подобни специални знаци от имената на полетата.

### Разделяне на shapefile с няколко полета в QGIS

#### 1. Отворете shapefile-а в QGIS

Отворете изходния shapefile в QGIS. Потвърдете, че съдържа няколко полигона на полета.

<figure><img src="https://lh5.googleusercontent.com/G8ooE_FarMCXvt6CjpvfwgRIiIwLVcSki84FFUiBelII7dZVLJHPN2K_Dj4As-VZNXYsut1q2JGtYEir3GCVfWqwKe4UAI9r9OcIM87jOkDRfiGes_wmD6zTmUyZpUZXgkQBUaW8RCsdaUKY18kaVQ" alt=""><figcaption><p>Първоначален слой с граници на полета с няколко полигона.</p></figcaption></figure>

#### 2. Отворете инструмента за разделяне

Отворете опциите на слоя и изберете **Split vector layer**.

<figure><img src="https://lh4.googleusercontent.com/g5B3A43gGlRbUBv2hkAt8xVT7UXzLvj06KB99R471uQQAIZLdoHFPmopQfz9ntwflEEN70DDUuMp7LQGqPocfzkBWbVc27Fm3pPCu2kWhbfnaG54TKGKmj4gKJw7sA10NKJf6ezJ62JVLtMlpSAl1Q" alt=""><figcaption><p>Отворете работния процес за разделяне.</p></figcaption></figure>

#### 3. Изберете слоя, атрибута и изходната папка

Задайте:

1. Слоят за разделяне.
2. Уникален атрибут за всяко поле.
3. Изходната директория.

<figure><img src="https://lh3.googleusercontent.com/oWwaxwcCPhOp6kIlpDM4z0CK_J_Q6QGCoIdXhr-vMrpQrf_HOLT5ZfHYExEk7J0QIYdPKunOdhe14S9Ay_-FtwGnTnq19GdtnWC4cUcEhEOXIGj7vZdZPsCovszX0sVdz1bF-yraci-5g09ZNJRocw" alt=""><figcaption><p>Изберете изходния слой и атрибута за разделяне.</p></figcaption></figure>

#### 4. Задайте изходния формат

Изберете **ESRI Shapefile** като изходен формат.

<figure><img src="https://lh6.googleusercontent.com/tDOJ7vPBHqCy8peu5Xb97FkYz43HZXnniWwYj6-UXcaMyJaEvuWqx6ew40n9OvXM9OGrPGof0rWasEcgQFjh9SEakNXKW4K4n3Ei56B6jwttr_NW30naaD4OYNJERbQeqeX7bE4JJNd_HwYlgdKIqg" alt=""><figcaption><p>Задайте изходната папка и формата shapefile.</p></figcaption></figure>

#### 5. Стартирайте разделянето

Щракнете върху **Run**. QGIS създава по един файл за всеки полигон. Всеки полигон става отделен shapefile на граница на поле.

#### 6. Конвертирайте `.gpkg` файловете в `.shp` ако е нужно

Някои настройки на QGIS първо създават `.gpkg` файлове. Ако това се случи, отворете всеки файл и го запишете отново като **ESRI Shapefile**.

1. Щракнете с десния бутон върху слоя.
2. Изберете **Export** → **Save Features As**.
3. Изберете **ESRI Shapefile**.
4. Задайте името и местоположението на файла.
5. Премахнете ненужните атрибути, ако е нужно.

### Резултат

Вече имате по един shapefile за всяко поле. Всеки файл е готов за качване на граница на поле в GeoPard. Това спестява време за настройка и намалява ненужното преработване при импорта.

### Свързани ръководства за QGIS

* [QGIS: Конвертиране на CSV в SHP](/geopard-tutorials/bg/brzi-gis-sveti/qgis-preobrazuvane-na-csv-v-shp.md)
* [QGIS: Препроектиране на Shapefile](/geopard-tutorials/bg/brzi-gis-sveti/qgis-reoproektirane-na-shapefile.md)


---

# 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/bg/brzi-gis-sveti/qgis-razdelyane-na-shapefile-i-s-mnogo-poleta.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.
