GeoPard Tutorials
Ask or search…
⌃K

3. Query: Get "SatelliteImages"

Get "SatelliteImages" with a defined cloud threshold for the "Field".
Hints:
  • Read all "Farms" accessible for the "User" - remove (farmUuids: ["d2bf8ef5-cde0-4500-b931-2edd0fb40781"]). Similar work with "Fields", "SatelliteImages", "VectorAnalysisMap".
  • Allowed geoMapType filter with acceptable values: ALL, ORIGIN, CROPPED, RAW, PROCESSED, THUMBNAIL, CONTRAST
  • Allowed date-related filters: before and after which belong to AWSDate format. It is possible to use only one of the filters. More details are HERE.
  • Allowed provider filter with acceptable values: PS, S2, L9, L8, L7, L5, L4
  • Allowed threshold filter highlights the cloud coverage: "1" means cloud-free, "0" - fully cloudy.
1
query GetFieldSatelliteImagesViaGetFields {
2
getFarms (farmUuids: ["<placeholder_of_farm_uuid>"]){
3
uuid
4
name
5
fields (fieldUuids: ["<placeholder_of_field_uuid>"]) {
6
uuid
7
name
8
satelliteImages (before:"2022-05-01" after: "2022-04-01" provider:S2 threshold:0.83 geoMapType: ORIGIN) {
9
satelliteImage {
10
uuid
11
acquisitionDate
12
provider
13
}
14
cloudFreeLand
15
geoMaps {
16
shortName
17
url
18
classes
19
hexColorCodes
20
}
21
ndviAverage
22
23
statistics {
24
index
25
min
26
max
27
avg
28
mdn
29
var
30
std
31
}
32
}
33
}
34
}
35
}
1
query GetFieldSatelliteImagesViaGetFarms {
2
getFields (filter: {fieldUuid: "<placeholder_of_field_uuid>"}) {
3
fields {
4
uuid
5
name
6
satelliteImages (before:"2022-05-01" after: "2022-04-01" provider:S2 threshold:0.83 geoMapType: ORIGIN) {
7
satelliteImage {
8
uuid
9
acquisitionDate
10
provider
11
}
12
cloudFreeLand
13
geoMaps {
14
shortName
15
url
16
classes
17
hexColorCodes
18
}
19
ndviAverage
20
21
statistics {
22
index
23
min
24
max
25
avg
26
mdn
27
var
28
std
29
}
30
}
31
}
32
}
33
}