> 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/svn/hitri-gis-namigi/qgis-split-multi-field-shapefiles.md).

# QGIS: razdelitev ene datoteke shapefile na ločeno datoteko za vsako polje

V QGIS uporabite možnost Split Vector Layer za razdelitev datoteke shapefile z mejami ali pridelkom celotne kmetije na ločeno datoteko za vsako polje, poimenovano glede na atribut polja.

Zaženite Vector, Data Management Tools, Split Vector Layer, za enolični ID izberite atribut z imenom polja, QGIS pa bo v izhodno mapo zapisal po eno datoteko za vsako polje. Najprej preverite, ali ima vsako polje enolično ime; če imata dve polji isto ime, bosta združeni v eno datoteko.

{% hint style="success" %}
Naložite razdeljene meje in si oglejte vsa polja na enem zemljevidu: [Začnite brezplačno](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-split-multi-field-shapefiles)
{% endhint %}

Če ena datoteka shapefile vsebuje več poligonov polj, jo pred uvozom razdelite. GeoPard uvozi eno mejo polja na datoteko shapefile. Ta postopek v QGIS-u vam pomaga hitreje pripraviti urejene datoteke in se izogniti težavam pri uvozu.

### Pred začetkom

* Poskrbite, da ima sloj enolično ime polja ali ID.
* Vnaprej ustvarite prazno izhodno mapo.
* Odstranite `/`, `\` in podobne posebne znake iz imen polj.

### Razdelitev datoteke shapefile z več polji v QGIS-u

#### 1. Odprite datoteko shapefile v QGIS

V QGIS odprite izvorno datoteko shapefile. Preverite, ali vsebuje več poligonov kmetijskih parcel.

<figure><img src="https://29491374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-e3dd4154a0aa47992eceb8f407ba5f92e8dd4cf6%2Fdocs-img-4ed34c5ae7.png?alt=media" alt=""><figcaption><p>Začetni sloj meja kmetijskih parcel z več poligoni.</p></figcaption></figure>

#### 2. Odprite orodje za razdelitev

Odprite možnosti sloja in izberite **Razdeli vektorski sloj**.

<figure><img src="https://29491374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-7861ecaaf39cda53162b2e62265b672ae337dcaa%2Fdocs-img-313ab32c2f.png?alt=media" alt=""><figcaption><p>Odprite potek dela za razdelitev.</p></figcaption></figure>

#### 3. Izberite sloj, atribut in izhodno mapo

Nastavite:

1. Sloj, ki ga želite razdeliti.
2. Enoličen atribut za vsako polje.
3. Izhodna mapa.

<figure><img src="https://29491374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-864da743afef35aa00fb8c8c13a865e6ec50e815%2Fdocs-img-922d2d7500.png?alt=media" alt=""><figcaption><p>Izberite izvorni sloj in atribut za razdelitev.</p></figcaption></figure>

#### 4. Nastavite izhodni format

Izberite **ESRI Shapefile** kot izhodni format.

<figure><img src="https://29491374-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-e839d90dc894e215f61cba11466875f72184cb69%2Fdocs-img-1f0a97b316.png?alt=media" alt=""><figcaption><p>Nastavite izhodno mapo in obliko Shapefile.</p></figcaption></figure>

#### 5. Zaženite razdelitev

Kliknite **Zaženi**. QGIS ustvari eno datoteko za vsak poligon. Vsak poligon postane ločena datoteka shapefile z mejo polja.

#### 6. Pretvorite `.gpkg` datoteke v `.shp` po potrebi

Nekatere nastavitve QGIS najprej ustvarijo `.gpkg` datoteke. Če se to zgodi, odprite vsako datoteko in jo znova shranite kot **ESRI Shapefile**.

1. Z desno miškino tipko kliknite plast.
2. Izberite **Izvozi** → **Shrani objekte kot**.
3. Izberite **ESRI Shapefile**.
4. Določite ime in mesto datoteke.
5. Po potrebi odstranite nepotrebne atribute.

### Rezultat

Zdaj imate za vsako njivo svojo datoteko shapefile. Vsaka datoteka je pripravljena za nalaganje meje njive v GeoPard. Tako prihranite čas pri nastavitvi in se izognete nepotrebnemu ponavljanju uvoza.

### Sorodni vodniki za QGIS

* [QGIS: pretvorba CSV v SHP](https://docs.geopard.tech/geopard-tutorials/svn/hitri-gis-namigi/qgis-convert-csv-to-shp.md)
* [QGIS: reprojekcija datoteke shapefile](https://docs.geopard.tech/geopard-tutorials/svn/hitri-gis-namigi/qgis-reproject-shapefile.md)

{% hint style="success" %}
Naložite razdeljene meje in si oglejte vsa polja na enem zemljevidu: [Začnite brezplačno](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-split-multi-field-shapefiles)
{% 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/svn/hitri-gis-namigi/qgis-split-multi-field-shapefiles.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.
