> 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/bg/brzi-gis-sveti/qgis-manipulacii-s-danni-za-dobiv.md).

# QGIS: Манипулации с данни за добив

Подгответе и почистете данните за добив в QGIS, преди да ги импортирате или анализирате в GeoPard.

ПРЕГЛЕД<br>

Ръководство с описание стъпка по стъпка за решаване на следните проблеми с данни от монитор на добива:

1. Липсващ файл с проекция (.prj) в shapefile
2. Прилагане на правила за преобразуване за всеки атрибут в shapefile (на база пример kb/ha към bu/ac)

<br>

Софтуерът, който да се използва, е QGIS ([ВРЪЗКА](https://qgis.org/en/site/forusers/download.html)).

Изтеглянето и инсталирането са задължителни.

### &#x20;ЛИПСВАЩ ФАЙЛ С ПРОЕКЦИЯ

1. Отворете shapefile-а с данните за добива. Преместете файла в прозореца на QGIS.
2. Shapefile-ът става достъпен за по-нататъшни манипулации в блока Layers.

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

3. Започнете процеса на записване
4. 1. Щракнете с десния бутон на мишката върху shapefile-а
   2. Изберете Export -> Save Feature As ...

![](https://lh5.googleusercontent.com/4p2FP0E4GEnN0KTcCgRvXro6oam-GCTGgc_s4yjkuujdXxbnjyPT5a1Z1Dr_o9_W3rw2AhtUMSQ7-RXHx3Xeca2vtMjCGTRIS_BTifbKCXhthfrWy9z5Ti3Ve6kCPFnatunJJ_jGy8gBWOa85CZg)

<br>

4. Изберете
5. 1. Format -> ESRI Shapefile,
   2. Filename -> щракнете … и изберете предпочитаната директория и име на файла,
   3. CRS -> EPSG:4326
   4. Encoding -> UTF8
   5. Добавете запазения файл към картата (по избор, ако искате да го видите директно в QGIS)
   6. Geometry type -> Point

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

5. Щракнете Ok
6. Създава се допълнителен shapefile със същите данни за добива. Файлът с проекцията (.prj) е добавен.

\ <br>

### ПРЕОБРАЗУВАНЕ КЪМ BU/AC

<br>

1. Щракнете с десния бутон на мишката върху shapefile-а и изберете Open Attribute Table

![](https://lh6.googleusercontent.com/NdfMyO0879Gfs3hNy65xG-dS4Ny3LtNn89F6yhVTwHZ4NqbjM1YMaJ7EWje5ySzgJkcGXexg6BE0mQorWsTej_90QXtLN7uHUds-eLmSN2wJltszg4YWk63Cm0kpiJUcAvFi3K6rily96QzjCNRW)

2. Щракнете върху Open field calculator

![](https://lh4.googleusercontent.com/CfXuEr0pNJFpTvu-Z4-p2Dhu91MNhhTvzIsf_S0xft59X7MQfqnDlwQSQmgnAa6InPROgBWY-yPyviS31PzhMhlySfuC4AWpYrchxUr_XS9P29MxHg8m1_cKuLm5DzBvkboeNuCynf1gTaJQX3ox)

3. Създайте ново поле
4. 1. Отбележете Create a new field
   2. Въведете Output field name -> DryYieldBu
   3. Изберете Output field type -> Decimal number (real)
   4. Променете Precision -> 4
   5. Задайте правило за преобразуване от kg/ha към bu/ac -> "Dry\_Yield" \* 0.0149

![](https://lh6.googleusercontent.com/nE9n9fiD0geaw5ebrp1R1KtJgqnCQQz8AC9ulpvQvvtgQzxZed6n9Cs7zRBlGH0gK-fSDTu--LvBXw4_i7hWmw3k9dVzLdU24j9JVuCcdol9AGx3Byi38CRsNFWSRI3MN_I6fd71NGjcABMn7ENs)

4. Щракнете Ok
5. В таблицата се появява допълнителен атрибут DryYieldBu

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

6. Запазете промените
7. 1. Щракнете с десния бутон на мишката върху интересуващия shapefile
   2. Изберете Toggle Editing

\
\
\ <br>

![](https://lh4.googleusercontent.com/Clwm4XcTG0N49JqJLZV9zJWpg0LPKeevU05w0d30F-PobS23vlVXcLp8MMPZif9rZs7ojl5SdymHz_FHQDdS1Pyz2y2dfhoL49au6C6y5A3huz_yFAcqvDcpKgB5XRh96oS97JBnxKSXWttWibVV)

7. Потвърдете запазването на промените

![](https://lh5.googleusercontent.com/RYEl5WkYMsX2aNA-zO6hUEXO6OGnFD2JO0XfNmJ6tqirz5Bw2udMa2ZUGTA8ZuZZb__mv5AtvmC-fZouyMUwUTzNdIn8ahzJhFXwW2M9PPgHDfuc8Qqq6UpC-MkU-xgPv0yCzoOoZjy-kpPn7xBP)

Интересуващият shapefile вече не е маркиран с молив. Данните в shapefile-а бяха обновени.


---

# 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/bg/brzi-gis-sveti/qgis-manipulacii-s-danni-za-dobiv.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.
