> 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-handtering-av-avlingsdata.md).

# QGIS: Håndtering av avlingsdata

Forbered og rens avlingsdata i QGIS før du importerer eller analyserer dem i GeoPard.

OVERSIKT<br>

Brukerveiledning med trinnvis beskrivelse for å løse følgende problemer med data fra avlingsmonitor:

1. Manglende projeksjonsfil (.prj) i shapefilen
2. Bruk konverteringsregler for hvert attributt i shapefilen (basert på kb/ha til bu/ac-eksempel)

<br>

Programvaren som skal brukes er QGIS ([LENKE](https://qgis.org/en/site/forusers/download.html)).

Nedlasting og installasjon er obligatorisk.

### &#x20;MANGLENDE PROJESJONSFIL

1. Åpne shapefilen med avlingsdata. Dra filen inn i QGIS-vinduet.
2. Shapefilen blir tilgjengelig for videre behandling i Lag-panelet.

![](https://lh5.googleusercontent.com/c4jakjBa8tCN9ZSxVnh6W6DDE24qYFGewLdjTwPi7i0yg7-Zp6JmeXE4yiq3JqhaIFhFE8mHxyKzR9avluJzJpsaUxXSxzCI_RSV0GjJyPoAp7sNj_UdMyEBRNs38siTdV9Ue2VY75Prqu57rKtj)

3. Start lagringsprosessen
4. 1. Høyreklikk på shapefilen
   2. Velg Eksporter -> Lagre objekter som ...

![](https://lh5.googleusercontent.com/4p2FP0E4GEnN0KTcCgRvXro6oam-GCTGgc_s4yjkuujdXxbnjyPT5a1Z1Dr_o9_W3rw2AhtUMSQ7-RXHx3Xeca2vtMjCGTRIS_BTifbKCXhthfrWy9z5Ti3Ve6kCPFnatunJJ_jGy8gBWOa85CZg)

<br>

4. Velg
5. 1. Format -> ESRI Shapefile,
   2. Filnavn -> klikk … og velg ønsket mappe og filnavn,
   3. CRS -> EPSG:4326
   4. Koding -> UTF8
   5. Legg til lagret fil i kartet (valgfritt hvis du vil se den direkte i QGIS)
   6. Geometri-type -> Punkt

![](https://lh4.googleusercontent.com/GUoerdddlqqyW1xQAGXkAc8txhiCnTrhL6B6HeM3gUsWgV9NatvqrjWtEQAHGsGzkS27fnsOM-QFuYuiafCUYdOOoy9AdKXJhp213uceDJuOxzfp01rMQnt4ruYoHjqhkE0iMl977pE_xfcwzaj9)

5. Klikk OK
6. En ekstra shapefil med de samme avlingsdataene er opprettet. Projeksjonsfilen (.prj) ble lagt til.

\ <br>

### KONVERTERING TIL BU/AC

<br>

1. Høyreklikk på shapefilen og velg Åpne attributtabell

![](https://lh6.googleusercontent.com/NdfMyO0879Gfs3hNy65xG-dS4Ny3LtNn89F6yhVTwHZ4NqbjM1YMaJ7EWje5ySzgJkcGXexg6BE0mQorWsTej_90QXtLN7uHUds-eLmSN2wJltszg4YWk63Cm0kpiJUcAvFi3K6rily96QzjCNRW)

2. Klikk Åpne feltkalkulator

![](https://lh4.googleusercontent.com/CfXuEr0pNJFpTvu-Z4-p2Dhu91MNhhTvzIsf_S0xft59X7MQfqnDlwQSQmgnAa6InPROgBWY-yPyviS31PzhMhlySfuC4AWpYrchxUr_XS9P29MxHg8m1_cKuLm5DzBvkboeNuCynf1gTaJQX3ox)

3. Opprett et nytt felt
4. 1. Merk av for Opprett et nytt felt
   2. Skriv inn Utdatafeltnavn -> DryYieldBu
   3. Velg Utdatafelttype -> Desimaltall (reelt)
   4. Endre Presisjon -> 4
   5. Legg inn regel for å konvertere kg/ha til bu/ac -> "Dry\_Yield" \* 0.0149

![](https://lh6.googleusercontent.com/nE9n9fiD0geaw5ebrp1R1KtJgqnCQQz8AC9ulpvQvvtgQzxZed6n9Cs7zRBlGH0gK-fSDTu--LvBXw4_i7hWmw3k9dVzLdU24j9JVuCcdol9AGx3Byi38CRsNFWSRI3MN_I6fd71NGjcABMn7ENs)

4. Klikk OK
5. Det ekstra attributtet DryYieldBu har dukket opp i tabellen

![](https://lh6.googleusercontent.com/S2PYA5-ZAkomBfAOe4g6AnTmu39STpYt3Bea4duzaNSIwODXOaY8m0h7hkj2SsnjlrDLCwuU94Bs9CNl_7SsZfDgBERfZ1RYSUvsrJBo-Wd8Tj4k_R6PkoELYfk2_XJfu3hcx0C43z0JTQuUbsYB)

6. Lagre endringene
7. 1. Høyreklikk på den aktuelle shapefilen
   2. Velg Slå redigering av/på

\
\
\ <br>

![](https://lh4.googleusercontent.com/Clwm4XcTG0N49JqJLZV9zJWpg0LPKeevU05w0d30F-PobS23vlVXcLp8MMPZif9rZs7ojl5SdymHz_FHQDdS1Pyz2y2dfhoL49au6C6y5A3huz_yFAcqvDcpKgB5XRh96oS97JBnxKSXWttWibVV)

7. Bekreft lagring av endringene

![](https://lh5.googleusercontent.com/RYEl5WkYMsX2aNA-zO6hUEXO6OGnFD2JO0XfNmJ6tqirz5Bw2udMa2ZUGTA8ZuZZb__mv5AtvmC-fZouyMUwUTzNdIn8ahzJhFXwW2M9PPgHDfuc8Qqq6UpC-MkU-xgPv0yCzoOoZjy-kpPn7xBP)

Den aktuelle shapefilen er ikke lenger merket med blyant. Dataene i shapefilen ble oppdatert.


---

# 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-handtering-av-avlingsdata.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.
