> 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-yield-data-manipulations.md).

# QGIS: Hantering av skördedata

Förbered och rensa skördedata i QGIS innan du importerar eller analyserar dem i GeoPard.

ÖVERSIKT<br>

Steg-för-steg-guide för att lösa följande problem med data från skördemätaren:

1. Saknad projektionsfil (.prj) i shapefilen
2. Tillämpa konverteringsregler för varje attribut i shapefilen (baserat på exemplet med omvandling från kg/ha till bu/ac)

<br>

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

Nedladdning och installation krävs.

### SAKNAD PROJEKTIONSFIL

1. Öppna shapefilen med skördedata. Dra filen till QGIS-fönstret.
2. Shapefilen visas i panelen Lager och kan nu bearbetas vidare.

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

3. Starta sparandet
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 mapp och filnamn,
   3. CRS -> EPSG:4326
   4. Kodning -> UTF8
   5. Lägg till den sparade filen på kartan (valfritt om du vill visa den direkt i QGIS)
   6. Geometrityp -> Punkt

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

5. Klicka på OK
6. En ytterligare shapefil med samma skördedata skapas. Projektionsfilen (.prj) har lagts till.

\ <br>

### OMVANDLING TILL BU/AC

<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ältnamn -> DryYieldBu
   3. Välj Utdatafältstyp -> Decimaltal (reellt)
   4. Ändra precision -> 4
   5. Ange 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 ytterligare attribut, DryYieldBu, visas i tabellen

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

6. Spara ändringarna
7. 1. Högerklicka på shapefilen du vill arbeta med
   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)

Pennikonen visas inte längre vid shapefilen. 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 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/swe/snabba-gis-tips/qgis-yield-data-manipulations.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.
