> 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/pt-br/dicas-rapidas-de-gis/qgis-yield-data-manipulations.md).

# QGIS: Manipulações de dados de produtividade

Prepare e limpe dados de produtividade no QGIS antes de importá-los ou analisá-los no GeoPard.

VISÃO GERAL<br>

Manual com instruções passo a passo para resolver os seguintes problemas com dados do monitor de produtividade:

1. Arquivo de projeção (.prj) ausente no shapefile
2. Aplicar regras de conversão a cada atributo do shapefile (com base no exemplo de conversão de kg/ha para bu/ac)

<br>

O software a ser utilizado é o QGIS ([LINK](https://qgis.org/en/site/forusers/download.html)).

O download e a instalação são obrigatórios.

### ARQUIVO DE PROJEÇÃO AUSENTE

1. Abra o shapefile com os dados de produtividade. Arraste o arquivo para a janela do QGIS.
2. O shapefile fica disponível para manipulações posteriores no painel Camadas.

![](https://1397135423-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. Inicie o processo de salvamento
4. 1. Clique com o botão direito do mouse no shapefile
   2. Selecione Exportar -> Salvar feições como...

![](https://1397135423-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. Selecione
5. 1. Formato -> ESRI Shapefile,
   2. Nome do arquivo -> clique em … e selecione o diretório e o nome de arquivo desejados,
   3. SRC -> EPSG:4326
   4. Codificação -> UTF8
   5. Adicionar arquivo salvo ao mapa (opcional, se quiser visualizá-lo diretamente no QGIS)
   6. Tipo de geometria -> Ponto

![](https://1397135423-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. Clique em Ok
6. Um shapefile adicional com os mesmos dados de produtividade é criado. O arquivo de projeção (.prj) foi adicionado.

\ <br>

### CONVERSÃO DE BU/AC

<br>

1. Clique com o botão direito do mouse no shapefile e selecione Abrir tabela de atributos

![](https://1397135423-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. Clique em Abrir calculadora de campo

![](https://1397135423-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. Crie um novo campo
4. 1. Marque Criar um novo campo
   2. Digite o nome do campo de saída -> DryYieldBu
   3. Selecione o tipo do campo de saída -> Número decimal (real)
   4. Altere a precisão -> 4
   5. Insira a regra para converter kg/ha em bu/ac -> "Dry\_Yield" \* 0.0149

![](https://1397135423-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. Clique em Ok
5. O atributo adicional DryYieldBu aparece na tabela

![](https://1397135423-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. Salve as alterações
7. 1. Clique com o botão direito do mouse no shapefile desejado
   2. Selecione Alternar edição

\
\
\ <br>

![](https://1397135423-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. Confirme o salvamento das alterações

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

O shapefile desejado não está mais marcado com o ícone de lápis. Os dados do shapefile foram atualizados.


---

# 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/pt-br/dicas-rapidas-de-gis/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.
