17. Query: Get "SoilDatasets"

Get all "SoilDatasets" for the selected "Field". Datasets can be fetched using generic GraphQL queries like getFarms and getFields from the linked "Field".

query GetSoilDatasetsViaGetFarms {
  getFarms (farmUuids: ["<placeholder_of_farm_uuid>"]) {
    uuid
    fields (fieldUuids: ["<placeholder_of_field_uuid>"]) {
      uuid
      soilDatasets {
        uuid
        name #pattern "<OperationType> <YYYY-mm-DD>"
        operationId #if exists
        number #total number of geofeatures
        geometryType
        totalCoveredArea(unit: HECTARES)
        fieldCoverage
        fieldCoveredArea(unit: HECTARES)
        
        fullAttributes { #complete details per attribute
          name #link to statistics >> attribute
          transliteratedName
          fullName #if exists
          unit #if exists
        }

        createdDate #entity created datetime in GeoPard
        updatedDate #last update datetime
        operationType
        operationId
        operationFileDate #file creation datetime
        operationStartDate #start of the operation
        
        statistics { #statistics distribution for every soil attribute
          attribute
          min
          max
          avg
          mdn
          var
          std
          sum
        }

        geoMaps {
          url
          shortName
          hexColorCodes
          classes
        }
      }
    }
  }
}

Last updated

Was this helpful?