# QGIS: Beregn NDVI for drone-Geotiff-filen

Noen ganger må du beregne gjennomsnittlig NDVI for en polygon inne i skiftet. Du kan gjøre følgende i et QGIS-program.<br>

<figure><img src="https://lh4.googleusercontent.com/fkankewAK-NkgRxklkXsY_17vIFeDwTjuCNNPvHPX2yzdAQsAx3sWvbQpSnnB8AxG85zYHEyNreHFAUnuD1SzaOZ5gkw-6JZ4X1xAkLs_f7ZNqGogyXOfABMxIBg4LQiO1yg_-OX4J5FtUoQlmPtAw" alt=""><figcaption></figcaption></figure>

#### 1 - Vis den opprinnelige Drone NDVI-geotiff-fila

<figure><img src="https://lh6.googleusercontent.com/TnFIzVA_U7L1Z4oMmnOAKZHZQBQ7-1-IqrPAidFzzh7SSF-9KWLAf5xDdwpifj3Ff847fN-wS2tU6jzWcm4qUa4dNkbX287BNpakmOHDqGvsrBPiCkICYpxN_qJiJ2EBkKcJjauq02KAAAyKLB7Gbg" alt=""><figcaption></figcaption></figure>

#### 2 - Opprett et nytt lag

<figure><img src="https://lh6.googleusercontent.com/XjSDzTuLAggVtP0SizpQMRjG6jBsUQVS2MKFxbauRFUD_YOq2KsbXo6Ov3sTiO2r158q9qyXGQyiSiC3IbMrx-SboOrVfEs5bvgYoVIXcqyIQfffKeoKdCDRhQDkx65xaPTpKRrBhuTJDXPJlpQfZA" alt=""><figcaption></figcaption></figure>

#### 3 - Sett opp lagnavn og geometritype, og trykk OK

<figure><img src="https://lh5.googleusercontent.com/H1cGGtrsYwaHw9RCYIU-AJ-vGm7c8Ct5tC5HVnVx96Ev-nYa3gleJ6joKrX-6zfIKMF50eBmI2MPFJ4FEmam9gvjKFq-ovVxhw7FhecUnH6Xf1OQ2MA87t-8H_km6cpYEySZqQW_DZV79YLClPDPeg" alt=""><figcaption></figcaption></figure>

#### 4 - Velg laget i Lag-panelet

1. Velg «Slå redigering av/på» (1)
2. Velg «Legg til polygonobjekt» (2)

#### 5 - Tegn en polygon. For å avslutte tegningen, trykk høyre museknapp og sett «id» i popup-vinduet.

Avslutt laget ved å trykke «Slå redigering av/på» igjen og trykk «Lagre».

<figure><img src="https://lh3.googleusercontent.com/3qiSZYB3e8c_froqsv59x8tU9mMKIh3cvC6Tlv9xyZDZQc6d5AGZXylBVGBvnypyDVXJvbUsqNVe5p8aF8mS0VnSCPPTwqsIvAVYmnZYAlGgBnVu5od_5C1oU3IwDwpUpcJhWpbDrMzI46UgaeLtTg" alt=""><figcaption></figcaption></figure>

#### 6 - Velg Zonal statistics i panelet «Processing toolbox».

<figure><img src="https://lh3.googleusercontent.com/qdPIGWoz8W2id9mXwjo-7AnbX8RWSpMnEdhFtIzR4fq07Po3Jg2Wmn0-4Ucgihk_04H2VJsQraYPSE8f6MHB0cjtMD2VAsMe8ILf6vu-gtCXFor7pGVg-1-vus8OXx2MyY2Ogb4LVMxcpB7Hkp5sHw" alt=""><figcaption></figcaption></figure>

#### 7 - Velg rasterlag (1),

Velg polygonlag (2),

Trykk «Kjør» (3).

<figure><img src="https://lh3.googleusercontent.com/htEYAd45WO6Rcw8rHMQ4W7rO4CdjsyxiHP_7Wb2gUan1Dw_szsi43ePRS6x8lHhAA8JeklNUfPEm3Xh6nXnoDJaiXq3eMGwqSOC2Yb-qvnUhOIInsMhCe_ImYHEv7MS60ZkXYoaXkJiKBIOTUskbTQ" alt=""><figcaption></figcaption></figure>

#### 8 - Velg laget i Lag-panelet og trykk høyre museknapp; i hurtigmenyen velger du Åpne attributtabell.

<figure><img src="https://lh3.googleusercontent.com/Oc1SLXwTAYBzZUrFq3TOAnF2p9UROQ28Cv6wv3XXhLkS5LGYRNoZ-JD_HIjDt-9FEiAzQLXjehiIyjZielJtB6-F0ohTMz3gTbsoZ02vanuuv37voF72i1h3p8YQBuhgfpt6hCcTguhM3-AujNSV_A" alt=""><figcaption></figcaption></figure>

#### 9 - De beregnede statistikkene vil vises i tabellen.<br>


---

# Agent Instructions: 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:

```
GET https://docs.geopard.tech/geopard-tutorials/nor/gis-kjappe-tips/qgis-beregn-ndvi-for-drone-geotiff-filen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
