> 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/esp/documentacion-de-la-api/descripcion-general-de-las-solicitudes-de-la-api-de-geopard/89.-mutacion-exportar-el-mapa-de-zonas-como-isoxml-comprimido.md).

# 89. Mutación: Exportar el mapa de zonas como ISOXML comprimido

Generar un archivo zip con el "ZonesMap" seleccionado como ISOXML.

{% hint style="danger" %}
Para convertir un ZonesMap con tasas a ISOXML, deben cumplirse las siguientes condiciones: (1) el ZonesMap debe tener al menos un producto con unidades seleccionadas, y (2) el tipo de ZonesMap debe especificarse como uno de los siguientes: Siembra, Pulverización, Fertilización o Riego.
{% endhint %}

{% hint style="info" %}
Se pueden exportar múltiples mapas de Aplicación ISOXML para el campo seleccionado usando `applicationMaps` >> `uuids` y/o `equationMaps` >> `uuids`.
{% endhint %}

### 1. Preparación

* El atributo `applicationMaps` contiene una matriz de ZonesMaps (VectorAnalysisMaps) con objetos de tasas para exportar. Cada uno de estos objetos incluye un par de `fieldUuid` (vínculo al Field seleccionado) y `uuids` (vinculación a los ZonesMaps seleccionados con tasas asignadas).
* El atributo `equationMaps` contiene una matriz de EquationMaps para exportar. Cada uno de estos objetos incluye un par de `fieldUuid` (vínculo al Field seleccionado) y `uuids` (vinculación a los EquationMaps seleccionados).
* El atributo `archiveName` contiene el nombre del archivo zip generado.
* El atributo `filePostfix` permite añadir sufijos personalizados a los archivos y al archivo exportado.

{% 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. Descargar el archivo generado

Después de la ejecución de la consulta GraphQL, es posible descargarlo usando `curl` o un enfoque similar.

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

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

{% endcode %}

{% hint style="success" %}
El archivo con ISOXML consta de <mark style="color:predeterminado;background-color:yellow;">representaciones GridType1, GridType2 y Vector</mark> .
{% endhint %}

<figure><img src="/files/65268dec0a794be4cc4c4556575117d028c01dde" 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/esp/documentacion-de-la-api/descripcion-general-de-las-solicitudes-de-la-api-de-geopard/89.-mutacion-exportar-el-mapa-de-zonas-como-isoxml-comprimido.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.
