GeoPard Tutorials
Ask or search…
K

46. Mutation: Generate multi-layer "ZonesMap" asynchronously

Generate "ZonesMap" based on multiple layers for the "Field" asynchronously.
The asynchronous approach generates a task (Generate "generateVectorAnalysisMap") to process and the Subscription will be received as soon as the processing is finished.
Attribute dataLayers contains the necessary information per data layer to utilize in the result "ZonesMap". The attribute factor represents the weight of the data layer.
1
mutation GenerateMultiLayerZonesMapAsync {
2
generateMultiLayersVectorAnalysisMapAsync(input: {
3
fieldUuid: "<placeholder_of_field_uuid>"
4
numberOfZones:7
5
name: "MultiYear f1.0 + LIDAR Slope f-0.5 + OM f0.5 + VolDr f0.2"
6
dataLayers: [{
7
factor: 1.0
8
satelliteImageUuids: [
9
"<placeholder_of_satelliteimage_uuid_1>",
10
"<placeholder_of_satelliteimage_uuid_2>",
11
"<placeholder_of_satelliteimage_uuid_3>",
12
"<placeholder_of_satelliteimage_uuid_4>",
13
"<placeholder_of_satelliteimage_uuid_5>",
14
"<placeholder_of_satelliteimage_uuid_6>",
15
"<placeholder_of_satelliteimage_uuid_7>",
16
"<placeholder_of_satelliteimage_uuid_8>",
17
"<placeholder_of_satelliteimage_uuid_9>",
18
"<placeholder_of_satelliteimage_uuid_10>"
19
]
20
index: EVI2
21
}, {
22
factor: -0.5
23
topographyMapUuid: "<placeholder_of_topographymap_uuid>"
24
topographyAttribute: slope
25
}, {
26
factor: 0.5
27
soilDatasetUuid: "<placeholder_of_soildataset_uuid>"
28
soilAttribute: "Soil_OM___"
29
}, {
30
factor: 0.2
31
yieldDatasetUuid: "<placeholder_of_yielddataset_uuid>"
32
yieldAttribute: vol_d
33
}]
34
}) {
35
uuid
36
fieldUuid
37
statusCode
38
}
39
}
40