> 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/fin/gis-pikavinkit/qgis-yield-data-manipulations.md). Agents can also search and read this documentation through its [MCP server](https://docs.geopard.tech/geopard-tutorials/~gitbook/mcp).

# QGIS: Satodatan käsittely

Valmistele ja puhdista satodata QGIS:ssä ennen sen tuontia tai analysointia GeoPardissa.

YLEISKATSAUS<br>

Vaiheittainen opas seuraavien satomonitorin tuottamiin tietoihin liittyvien ongelmien ratkaisemiseen:

1. Shapefile-tiedostosta puuttuu projektiotiedosto (.prj)
2. Käytä muuntosääntöjä shapefilen jokaiseen attribuuttiin (esimerkkinä muunnos kg/ha-yksiköstä bu/ac-yksikköön)

<br>

Käytettävä ohjelmisto on QGIS ([LINKKI](https://qgis.org/en/site/forusers/download.html)).

Ohjelmiston lataaminen ja asentaminen on pakollista.

### PROJEKTIOTIEDOSTO PUUTTUU

1. Avaa satotiedot sisältävä shapefile. Vedä tiedosto QGIS-ikkunaan.
2. Shapefile näkyy tämän jälkeen Tasot-ruudussa, jossa sitä voi käsitellä.

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-9c157f438f9f4950d9ae10e37298edffce466f9b%2Fdocs-img-bda4841cfb.png?alt=media)

3. Aloita tallennus
4. 1. Napsauta shapefileä hiiren oikealla painikkeella
   2. Valitse Vie -> Tallenna kohteet nimellä ...

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-f9de6a17509d5df31a0ba47be6e661a2c320937c%2Fdocs-img-3f1e039d63.png?alt=media)

<br>

4. Valitse
5. 1. Muoto -> ESRI Shapefile,
   2. Tiedostonimi -> napsauta … ja valitse haluamasi kansio ja tiedostonimi,
   3. Koordinaattijärjestelmä -> EPSG:4326
   4. Merkistökoodaus -> UTF8
   5. Lisää tallennettu tiedosto karttaan (valinnainen, jos haluat nähdä sen heti QGISissä)
   6. Geometriatyyppi -> Piste

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-72b3eb69d8254fdc1eb937a0e4ae987c7dddf21f%2Fdocs-img-53147391d5.png?alt=media)

5. Napsauta OK
6. Luo uusi shapefile, joka sisältää samat satotiedot. Siihen lisätään projektiotiedosto (.prj).

\ <br>

### MUUNNOS YKSIKÖSTÄ BU/AC

<br>

1. Napsauta shapefileä hiiren oikealla painikkeella ja valitse Avaa attribuuttitaulukko

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-46489005ffb8827c065a24c10af7e252b372f8d9%2Fdocs-img-b3ff8a28aa.png?alt=media)

2. Napsauta Avaa kenttälaskin

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-458eae7cac9eba15e35fc030efedaeedfa0b9359%2Fdocs-img-95efb68a40.png?alt=media)

3. Luo uusi kenttä
4. 1. Valitse Luo uusi kenttä
   2. Anna tuloskentän nimeksi -> DryYieldBu
   3. Valitse tuloskentän tyypiksi -> Desimaaliluku (reaaliluku)
   4. Muuta tarkkuudeksi -> 4
   5. Anna muuntosääntö kg/ha-yksiköstä bu/ac-yksikköön -> "Dry\_Yield" \* 0.0149

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-b9b6836786a9461e6bd1d9e51332ed9d47166d51%2Fdocs-img-70bdf54181.png?alt=media)

4. Napsauta OK
5. Taulukkoon ilmestyy uusi DryYieldBu-attribuutti

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-ba2c4cd031eeba6773e628754db489a44237bf83%2Fdocs-img-2f073bcef8.png?alt=media)

6. Tallenna muutokset
7. 1. Napsauta haluamaasi shapefileä hiiren oikealla painikkeella
   2. Valitse Ota muokkaus käyttöön

\
\
\ <br>

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-48b965189c811b22feb779888f058bdedae267ab%2Fdocs-img-167770d397.png?alt=media)

7. Vahvista muutosten tallennus

![](https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2Fgit-blob-edaabaae1e2c4daf85483bd456eaede002278b5d%2Fdocs-img-21cd42ee81.png?alt=media)

Shapefileä ei enää merkitä kynäkuvakkeella. Shapefilen tiedot on päivitetty.


---

# 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/fin/gis-pikavinkit/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.
