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".

A "SoilDataset" has to be uploaded in advance.

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
        }
      }
    }
  }
}
query GetSoilDatasetsViaGetFields { 
  getFields(filter: {fieldUuid: "<placeholder_of_field_uuid>" ) { 
    fields { 
      uuid
      soilDatasets { 
        uuid
        name  
        operationId #if exists 
        number #total number of geofeatures 
        geometryType 
        totalCoveredArea(unit: HECTARES) 
        fieldCoverage 
        fieldCoveredArea(unit: HECTARES)    
        
        fullAttributes {
          name #link to statistics >> attribute
          transliteratedName
          fullName #if exists
          unit #if exists
        }
      
        createdDate #created datetime in GeoPard
        updatedDate #last update datetime in GeoPard
        operationFileDate #file creation datetime (if exists)
        operationStartDate #start of the operation (if exists)
      
        statistics { #statistical distribution for every soil attribute
          attribute
          min
          max
          avg
          mdn
          var
          std
          sum
        }
        
        geoMaps { #visual representation
          url
          shortName
          hexColorCodes
          classes
        }
      }
    }
  } 
}

Last updated

Powered by GeoPard Agriculture - Automated precisionAg platform