GeoPard Tutorials
Ask or search…
K

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.
1
mutation ExportData {
2
exportData(input: {
3
vectorAnalysisMaps: [{
4
uuid: "<placeholder_of_vectoranalysismap_uuid_1>",
5
fieldUuid: "<placeholder_of_field_uuid>"
6
}, {
7
uuid: "<placeholder_of_vectoranalysismap_uuid_2>",
8
fieldUuid: "<placeholder_of_field_uuid>"
9
}]
10
fieldBoundaries: [{
11
uuid: "<placeholder_of_farm_uuid>",
12
fieldUuid: "<placeholder_of_field_uuid>"
13
}]
14
}) {
15
archiveUrl
16
zippedVectorAnalysisMaps {
17
uuid
18
fieldUuid
19
status
20
}
21
ignoredVectorAnalysisMaps {
22
uuid
23
fieldUuid
24
status
25
}
26
zippedFieldBoundaries {
27
uuid
28
fieldUuid
29
status
30
}
31
ignoredFieldBoundaries {
32
uuid
33
fieldUuid
34
status
35
}
36
}
37
}