> 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/swe/snabba-gis-tips/qgis-hantering-av-skordedata.md).

# QGIS: Hantering av skördedata

ÖVERSIKT<br>

Handbok med steg-för-steg-beskrivning för att lösa följande problem med data från skördekarteraren:

1. Saknad projektionsfil (.prj) i shapefilen
2. Tillämpa omräkningsregler för varje attribut i shapefilen (baserat på exempel från kb/ha till bu/ac)

<br>

Programmet som ska användas är QGIS ([LÄNK](https://qgis.org/en/site/forusers/download.html)).

Nedladdning och installation är obligatoriskt.

### &#x20;SAKNAD PROJEKTIONSFIL

1. Öppna shapefilen med skördedata. Dra in filen i QGIS-fönstret.
2. Shapefilen blir tillgänglig för vidare hantering i lagerrutan.

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

3. Starta sparprocessen
4. 1. Högerklicka på shapefilen
   2. Välj Exportera -> Spara objekt som ...

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

<br>

4. Välj
5. 1. Format -> ESRI Shapefile,
   2. Filnamn -> klicka på … och välj önskad katalog och filnamn,
   3. CRS -> EPSG:4326
   4. Kodning -> UTF8
   5. Lägg till sparad fil i kartan (valfritt om du vill se den direkt i QGIS)
   6. Geometrityp -> Punkt

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

5. Klicka på Ok
6. En extra shapefile med samma skördedata skapas. Projektionsfilen (.prj) har lagts till.

\ <br>

### BU/AC-OMRÄKNING

<br>

1. Högerklicka på shapefilen och välj Öppna attributtabell

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

2. Klicka på Öppna fältkalkylatorn

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

3. Skapa ett nytt fält
4. 1. Markera Skapa ett nytt fält
   2. Ange utdatafältets namn -> DryYieldBu
   3. Välj utdatafältstyp -> Decimaltal (reellt)
   4. Ändra precision -> 4
   5. Lägg in regeln för att omvandla kg/ha till bu/ac -> "Dry\_Yield" \* 0.0149

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

4. Klicka på Ok
5. Ett extra attribut DryYieldBu har dykt upp i tabellen

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

6. Spara ändringarna
7. 1. Högerklicka på den aktuella shapefilen
   2. Välj Växla redigering

\
\
\ <br>

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

7. Bekräfta att ändringarna ska sparas

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

Den aktuella shapefilen är inte längre markerad med en penna. Data i shapefilen har uppdaterats.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.geopard.tech/geopard-tutorials/swe/snabba-gis-tips/qgis-hantering-av-skordedata.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
