# 89. Mutation: Export ZonesMap as Zipped ISOXML

Generate a zip archive with the selected "ZonesMap" as ISOXML .

{% hint style="danger" %}
To convert a ZonesMap with rates into ISOXML, the following conditions must be met: (1) the ZonesMap must have at least one product with selected units, and (2) the ZonesMap type must be specified as one of the following: Seeding, Spraying, Fertilizing, or Irrigation.
{% endhint %}

{% hint style="info" %}
Multiple ISOXML Application maps can be exported for the selected field using `applicationMaps` >> `uuids` and/or `equationMaps` >> `uuids`.
{% endhint %}

### 1. Preparation

* The attribute `applicationMaps` contains an array of ZonesMaps (VectorAnalysisMaps) with rates objects to be exported. Each such object includes a pair of `fieldUuid` (linkage to the selected Field) and `uuids` (linkage to the selected ZonesMaps with assigned rates).
* The attribute `equationMaps` contains an array of EquationMaps to be exported. Each such object includes a pair of `fieldUuid` (linkage to the selected Field) and `uuids` (linkage to the selected EquationMaps).
* The attribute `archiveName` holds the name of the generated zip archive.
* The attribute `filePostfix` allows for custom postfixes to be added to the exported files and archive.

{% 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. Download the generated archive

After execution of the GraphQL query, it is possible to download it using `curl` or a similar approach.

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

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

{% endcode %}

{% hint style="success" %}
The archive with ISOXML consists of <mark style="background-color:yellow;">GridType1, GridType2, and Vector</mark> representations.
{% endhint %}

<figure><img src="https://3272281156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2FYQD5tHtaEPamloTvQGvx%2Fimage.png?alt=media&#x26;token=2bdc2edf-2cde-4e92-ab8c-c87ce600ee46" alt="" width="167"><figcaption></figcaption></figure>
