18. Mutation: Generate zip archive with "ZonesMap" and "Field"

Generate a zip archive with the selected "ZonesMap" and the "Field" boundary.

After execution of the GraphQL query, users can get a zip archive from the archiveUrl property and exported content with zipped and ignored rows.

The archive consists of *.shp, *.shx, *.prj, *.dbf files.

archiveUrl link is accessible for only 60 sec.

mutation ExportData {
  exportData(input: {
    vectorAnalysisMaps: [{ 
      uuid: "<placeholder_of_vectoranalysismap_uuid_1>", 
      fieldUuid: "<placeholder_of_field_uuid>" 
    }, { 
      uuid: "<placeholder_of_vectoranalysismap_uuid_2>", 
      fieldUuid: "<placeholder_of_field_uuid>" 
    }]
    fieldBoundaries: [{
      uuid: "<placeholder_of_farm_uuid>", 
      fieldUuid: "<placeholder_of_field_uuid>"
    }]
  }) {
    archiveUrl
    zippedVectorAnalysisMaps {
      uuid
      fieldUuid
      status
    }
    ignoredVectorAnalysisMaps {
      uuid
      fieldUuid
      status
    }
    zippedFieldBoundaries {
      uuid
      fieldUuid
      status
    }
    ignoredFieldBoundaries {
      uuid
      fieldUuid
      status
    }
  }
}

Last updated

Powered by GeoPard Agriculture - Automated precisionAg platform