> For the complete documentation index, see [llms.txt](https://support.senterasensors.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.senterasensors.com/home/fieldagent-desktop/troubleshooting/converting-a-.kmz-file-to-a-.shp-file-so-field-boundaries-can-be-imported.md).

# Converting a .KMZ file to a .SHP File so Field Boundaries can be Imported

## Converting a .KMZ file to a .SHP file

1. Download and install the latest version of QGIS [here](https://qgis.org).
2. Launch QGIS.
3. Make sure that the Processing Toolbox is displayed. To display it select "View => Panels =>  Processing Toolbox".

<div align="left"><figure><img src="https://content.gitbook.com/content/5PrPv7qAuOduWGT8xfTd/blobs/I6MMF49S22OahM38AL6n/image.png" alt=""><figcaption></figcaption></figure></div>

4. In the Processing Toolbox find "Vector Geometry" and then double click on "Polygonize".

<div align="left"><figure><img src="https://content.gitbook.com/content/5PrPv7qAuOduWGT8xfTd/blobs/M53eBfIb02jSbcumPIIa/image.png" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://content.gitbook.com/content/5PrPv7qAuOduWGT8xfTd/blobs/PpiXVDJuIbccDBsQXu6B/image.png" alt=""><figcaption></figcaption></figure></div>

5. In the Input layer, select the "..." button and then click on "select file..." and find the .KMZ file to select again.

<figure><img src="https://content.gitbook.com/content/5PrPv7qAuOduWGT8xfTd/blobs/w3xzCigGVgO8YuqKN90z/image.png" alt=""><figcaption></figcaption></figure>

6. In the Polygons click on the "..." button and select "Save to File...".

<figure><img src="https://content.gitbook.com/content/5PrPv7qAuOduWGT8xfTd/blobs/7ZIUFSiCVlKxdr54PrDS/image.png" alt=""><figcaption></figcaption></figure>

7. Choose the location to save the file too and give the shapefile a name.
8. Click on the "Run" button.
9. When the processing is complete click on the "Close" button.
10. The shape file is now created, you can close out of QGIS if needed.

## Importing a Shapefile as a field in FieldAgent

1. Click on + icon by the fields name on the left hand pane, see image below.

<div align="left"><figure><img src="https://content.gitbook.com/content/5PrPv7qAuOduWGT8xfTd/blobs/UV3X3hzyHvWq0AldqHOW/image.png" alt=""><figcaption></figcaption></figure></div>

2. Select the .SHP file and click on the "Open" button.
3. Click on the "Close" button to confirm that the import is complete.
4. The Field has now been created. View the field by looking on the left hand pane under fields and select the field you imported.


---

# 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://support.senterasensors.com/home/fieldagent-desktop/troubleshooting/converting-a-.kmz-file-to-a-.shp-file-so-field-boundaries-can-be-imported.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.
