> 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/nor/korte-gis-tips/qgis-split-multi-field-shapefiles.md).

# QGIS: del én shapefil opp i én fil per skifte

Bruk Split Vector Layer i QGIS for å dele en shapefil med grenser eller avlingsdata for hele gården opp i én fil per skifte, navngitt etter skifteattributtet.

Kjør Vector, Data Management Tools, Split Vector Layer, velg attributtet for feltnavn som unik ID, så skriver QGIS én fil per felt til utdatamappen. Kontroller først at hvert felt har et unikt navn, ellers havner to felt med samme navn i én fil.

{% hint style="success" %}
Last opp de oppdelte grensene, og se alle feltene på ett kart: [Kom i gang gratis](https://app.geopard.tech/auth/sign-up?utm_source=docs\&utm_medium=cta\&utm_campaign=qgis-split-multi-field-shapefiles)
{% endhint %}

Hvis én shapefil inneholder flere feltpolygoner, deler du den opp før import. GeoPard importerer én feltgrense per shapefil. Denne arbeidsflyten i QGIS hjelper deg med å klargjøre ryddige filer raskere og unngå importproblemer.

### Før du begynner

* Kontroller at laget har et unikt feltnavn eller en unik ID.
* Opprett en tom utdatamappe på forhånd.
* Fjern `/`, `\`og lignende spesialtegn fra feltnavnene.

### Del opp en shapefil med flere felt i QGIS

#### 1. Åpne shapefilen i QGIS

Åpne kildeshapefilen i QGIS. Kontroller at den inneholder flere feltpolygoner.

<figure><img src="https://lh5.googleusercontent.com/G8ooE_FarMCXvt6CjpvfwgRIiIwLVcSki84FFUiBelII7dZVLJHPN2K_Dj4As-VZNXYsut1q2JGtYEir3GCVfWqwKe4UAI9r9OcIM87jOkDRfiGes_wmD6zTmUyZpUZXgkQBUaW8RCsdaUKY18kaVQ" alt=""><figcaption><p>Opprinnelig feltgrenselag med flere polygoner.</p></figcaption></figure>

#### 2. Åpne oppdelingsverktøyet

Åpne lagalternativene og velg **Split vector layer**.

<figure><img src="https://lh4.googleusercontent.com/g5B3A43gGlRbUBv2hkAt8xVT7UXzLvj06KB99R471uQQAIZLdoHFPmopQfz9ntwflEEN70DDUuMp7LQGqPocfzkBWbVc27Fm3pPCu2kWhbfnaG54TKGKmj4gKJw7sA10NKJf6ezJ62JVLtMlpSAl1Q" alt=""><figcaption><p>Åpne arbeidsflyten for oppdeling.</p></figcaption></figure>

#### 3. Velg lag, attributt og utdatamappe

Angi:

1. Laget som skal deles opp.
2. Et unikt attributt for hvert felt.
3. Utdatamappen.

<figure><img src="https://lh3.googleusercontent.com/oWwaxwcCPhOp6kIlpDM4z0CK_J_Q6QGCoIdXhr-vMrpQrf_HOLT5ZfHYExEk7J0QIYdPKunOdhe14S9Ay_-FtwGnTnq19GdtnWC4cUcEhEOXIGj7vZdZPsCovszX0sVdz1bF-yraci-5g09ZNJRocw" alt=""><figcaption><p>Velg kildelaget og oppdelingsattributtet.</p></figcaption></figure>

#### 4. Angi utdataformat

Velg **ESRI Shapefile** som utdataformat.

<figure><img src="https://lh6.googleusercontent.com/tDOJ7vPBHqCy8peu5Xb97FkYz43HZXnniWwYj6-UXcaMyJaEvuWqx6ew40n9OvXM9OGrPGof0rWasEcgQFjh9SEakNXKW4K4n3Ei56B6jwttr_NW30naaD4OYNJERbQeqeX7bE4JJNd_HwYlgdKIqg" alt=""><figcaption><p>Angi utdatamappen og shapefilformatet.</p></figcaption></figure>

#### 5. Kjør oppdelingen

Klikk på **Run**. QGIS oppretter én fil per polygon. Hvert polygon blir en egen shapefil med feltgrensen.

#### 6. Konverter `.gpkg` filer til `.shp` hvis nødvendig

Noen QGIS-oppsett oppretter først `.gpkg` filer. Hvis det skjer, åpner du hver fil og lagrer den på nytt som **ESRI Shapefile**.

1. Høyreklikk på laget.
2. Velg **Export** → **Save Features As**.
3. Velg **ESRI Shapefile**.
4. Angi filnavn og plassering.
5. Fjern unødvendige attributter ved behov.

### Resultat

Nå har du én shapefil per skifte. Hver fil er klar til å lastes opp som skiftegrense i GeoPard. Dette sparer tid på oppsett og reduserer unødvendig ekstraarbeid ved import.

### Relaterte QGIS-veiledninger

* [QGIS: Konverter CSV til SHP](https://docs.geopard.tech/geopard-tutorials/nor/korte-gis-tips/qgis-convert-csv-to-shp.md)
* [QGIS: Reprojiser shapefil](https://docs.geopard.tech/geopard-tutorials/nor/korte-gis-tips/qgis-reproject-shapefile.md)

{% hint style="success" %}
Last opp de oppdelte grensene, og se alle feltene på ett kart: [Kom i gang gratis](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/nor/korte-gis-tips/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.
