GeoPard Tutorials
Ask or search…
K

59. Query: Get "AsAppliedDatasets"

Get As-Planted or As-Applied datasets
Get all "AsAppliedDatasets" for the selected "Field". Datasets can be fetched using generic GraphQL queries like getFarms and getFields from the linked "Field".
An "AsAppliedDataset" has to be uploaded in advance.
1
query GetAsAppliedDatasetsViaGetFarms {
2
getFarms (farmUuids: ["<placeholder_of_farm_uuid>"]) {
3
uuid
4
name
5
fields (fieldUuids: ["<placeholder_of_field_uuid>"]) {
6
uuid
7
asAppliedDatasets {
8
uuid
9
name
10
number #total number of geofeatures
11
geometryType
12
totalCoveredArea(unit: HECTARES)
13
fieldCoverage
14
fieldCoveredArea(unit: HECTARES)
15
16
attributes
17
18
fullAttributes { #complete details per attribute
19
name #link to statistics >> attribute
20
transliteratedName
21
fullName #correct human readable name
22
unit#units of measure
23
}
24
25
usedMachines { #used machines
26
id
27
serial
28
operatorId
29
}
30
31
createdDate #entity created datetime in GeoPard
32
updatedDate #last update datetime
33
operationId
34
operationType
35
operationFileDate #file creation datetime comes from the metainformation
36
operationStartDate #start of the operation comes from the metainformation
37
38
statistics { #statistics distribution for every attribute
39
attribute
40
min
41
max
42
avg
43
mdn
44
var
45
std
46
sum
47
}
48
49
geoMaps {
50
url
51
shortName
52
hexColorCodes
53
classes
54
}
55
}
56
}
57
}
58
}
1
query GetAsAppliedDatasetsViaGetFields {
2
getFields (filter: {fieldUuid: "<placeholder_of_field_uuid>"}) {
3
fields {
4
uuid
5
area(unit: HECTARES)
6
asAppliedDatasets(asAppliedDatasetUuids: ["placeholder_of_dataset_uuid"]) {
7
uuid
8
name
9
number #total number of geofeatures
10
geometryType
11
totalCoveredArea(unit: HECTARES)
12
fieldCoverage
13
fieldCoveredArea(unit: HECTARES)
14
15
attributes
16
17
fullAttributes { #complete details per attribute
18
name #link to statistics >> attribute
19
transliteratedName
20
fullName #correct human readable name
21
unit#units of measure
22
}
23
24
usedMachines { #used machines
25
id
26
serial
27
operatorId
28
}
29
30
createdDate #entity created datetime in GeoPard
31
updatedDate #last update datetime
32
operationId
33
operationType
34
operationFileDate #file creation datetime comes from the metainformation
35
operationStartDate #start of the operation comes from the metainformation
36
37
statistics { #statistics distribution for every attribute
38
attribute
39
min
40
max
41
avg
42
mdn
43
var
44
std
45
sum
46
}
47
48
geoMaps {
49
url
50
shortName
51
hexColorCodes
52
classes
53
}
54
}
55
}
56
}
57
}