> 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/swe/api-dokumentation/oversikt-over-geopard-api-anrop/89.-mutation-exportera-zonesmap-som-zippad-isoxml.md).

# 89. Mutation: Exportera ZonesMap som zippad ISOXML

Generera ett zip-arkiv med den valda "ZonesMap" som ISOXML .

{% hint style="danger" %}
För att konvertera en ZonesMap med doser till ISOXML måste följande villkor vara uppfyllda: (1) ZonesMap måste ha minst en produkt med valda enheter, och (2) ZonesMap-typen måste anges som en av följande: Sådd, Sprutning, Gödsling eller Bevattning.
{% endhint %}

{% hint style="info" %}
Flera ISOXML-applikationskartor kan exporteras för det valda fältet med hjälp av `applicationMaps` >> `uuids` och/eller `equationMaps` >> `uuids`.
{% endhint %}

### 1. Förberedelse

* Attributet `applicationMaps` innehåller en array av ZonesMaps (VectorAnalysisMaps) med dosobjekt som ska exporteras. Varje sådant objekt inkluderar ett par av `fieldUuid` (länkning till det valda fältet) och `uuids` (länkning till de valda ZonesMaps med tilldelade doser).
* Attributet `equationMaps` innehåller en array av EquationMaps som ska exporteras. Varje sådant objekt inkluderar ett par av `fieldUuid` (länkning till det valda fältet) och `uuids` (länkning till de valda EquationMaps).
* Attributet `archiveName` innehåller namnet på det genererade zip-arkivet.
* Attributet `filePostfix` möjliggör att egna postfixer läggs till i de exporterade filerna och arkivet.

{% code overflow="wrap" lineNumbers="true" %}

```graphql
mutation exportIsoXml {
  exportIsoXml(
    input: {
      applicationMaps:[
        {
          fieldUuid:"<placeholder_field_uuid>" 
          uuids:[
            "<placeholder_zones_map_1_uuid>",
            "<placeholder_zones_map_2_uuid>"
          ]
        }
      ] 
      equationMaps: [
        {
          fieldUuid:"<placeholder_field_uuid>" 
          uuids:[
            "<placeholder_equation_map_1_uuid>"
          ]
        }
      ]
      filePostfix:"_GP" 
      archiveName:"CustomZonesMapsISOXML"
    }
  ) {
    archiveUrl
  }
}
```

{% endcode %}

### 2. Ladda ner det genererade arkivet

Efter att GraphQL-frågan körts är det möjligt att ladda ner det med `curl` eller en liknande metod.

{% code overflow="wrap" lineNumbers="true" %}

```bash
curl '<archiveUrl>' --compressed >> '<archiveUrl>'
```

{% endcode %}

{% hint style="success" %}
Arkivet med ISOXML består av <mark style="color:standard;background-color:yellow;">GridType1, GridType2 och Vector</mark> representationer.
{% endhint %}

<figure><img src="/files/b0cfe1af3002d5942fd14acaa8726fda2b2bc451" alt="" width="167"><figcaption></figcaption></figure>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.geopard.tech/geopard-tutorials/swe/api-dokumentation/oversikt-over-geopard-api-anrop/89.-mutation-exportera-zonesmap-som-zippad-isoxml.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
