89. Mutation: Export ZonesMap as Zipped ISOXML
Generate a zip archive with the selected "ZonesMap" as ISOXML .
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.
1. Preparation
The attribute
applicationMapscontains an array of ZonesMaps (VectorAnalysisMaps) with rates objects to be exported. Each such object includes a pair offieldUuid(linkage to the selected Field) anduuids(linkage to the selected ZonesMaps with assigned rates).The attribute
equationMapscontains an array of EquationMaps to be exported. Each such object includes a pair offieldUuid(linkage to the selected Field) anduuids(linkage to the selected EquationMaps).The attribute
archiveNameholds the name of the generated zip archive.The attribute
filePostfixallows for custom postfixes to be added to the exported files and archive.
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
}
}2. Download the generated archive
After execution of the GraphQL query, it is possible to download it using curl or a similar approach.
curl '<archiveUrl>' --compressed >> '<archiveUrl>'The archive with ISOXML consists of GridType1, GridType2, and Vector representations.

Last updated
Was this helpful?