GeoPard Tutorials
Ask or search…
⌃K

37. Query: Get "SatelliteImages" in the defined interval

Get "SatelliteImages" in the defined time frame (before and after the dates).
Filters before and after belong to AWSDate.
It is possible to use only one of the filters.
1
query GetFieldSatelliteImagesWithDateFilter {
2
getFarms(farmUuids: ["<placeholder_of_farm_uuid>"]) {
3
uuid
4
userUuid
5
name
6
fields(fieldUuids: ["<placeholder_of_field_uuid>"]) {
7
uuid
8
name
9
createdDate
10
area(unit: HECTARES)
11
satelliteImages(after: "2019-06-10" before: "2019-07-10"){
12
satelliteImage{
13
acquisitionDate
14
provider
15
}
16
}
17
}
18
}
19
}