# QGIS: Calcular NDVI para o arquivo GeoTIFF do drone

Às vezes, você precisa calcular o NDVI médio para algum polígono dentro da lavoura. Você pode fazer o seguinte em um programa QGIS.<br>

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

#### 1 - Visualize o geotiff do NDVI inicial do drone

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

#### 2 - Crie uma nova camada

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

#### 3 - Configure o nome da camada e o tipo de geometria e pressione OK

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

#### 4 - Selecione a camada no painel Camadas

1. Selecione “Alternar edição” (1)
2. Selecione “Adicionar feição poligonal” (2)

#### 5 - Desenhe um polígono. Para finalizar o desenho, pressione o botão direito do mouse e defina “id” na janela pop-up.

Finalize a camada pressionando “Alternar edição” novamente e depois “Salvar”.

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

#### 6 - Selecione Estatísticas zonais no painel “Caixa de ferramentas de processamento”.

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

#### 7 - Selecione a camada raster (1),

Selecione a camada de polígonos (2),

Pressione “Executar” (3).

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

#### 8 - Selecione a camada no painel Camadas e pressione o botão direito do mouse; no menu de contexto, selecione Abrir tabela de atributos.

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

#### 9 - As estatísticas calculadas serão mostradas na tabela.<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/pt-br/dicas-rapidas-de-gis/qgis-calcular-ndvi-para-o-arquivo-geotiff-do-drone.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.
