Data Model

The Shamba oracle currently supports running two types of analytics on geospatial data. Below we describe each of these including their inputs and output.

Descriptive Statistics Analysis

This analysis aims at getting descriptive statistics. Given an area of interest and a dataset to reference, this analysis returns standard metrics such as maximum, minimum, mean, median and variance. These descriptive statistics are useful for setting thresholds and triggers in many parametric smart contracts. The required statistical metric is specified in the “agg_x” parameter.

Inputs:

  • “agg_x”: “string”,

  • “dataset_code”: “string”,

  • “selected_band”: “string”,

  • “geometry”: {json},

  • “start_date”: “string”,

  • “end_date”: “string”,

  • “image_scale”: integer,

Outputs:

  • int256

Fire Analysis

This analysis aims at determining if an area of interest falls within a detected fire. It performs a topology analysis to determine if a fire extends to a specified area of interest. Given an area of interest and a dataset to reference, this analysis returns a boolean indicating whether a fire was detected or not. Boolean values (1 - TRUE, 9 - FALSE).

Inputs:

  • “dataset_code”: “string”,

  • “selected_band”: “string”,

  • “geometry”: {json},

  • “start_date”: “string”,

  • “end_date”: “string”,

  • “image_scale”: integer,

Outputs:

  • uint256 (1 - TRUE, 9 - FALSE)

The GeoAPI that Powers our Oracle

The Shamba oracle is powered by a geospatial API service running on Google Earth Engine. You can access this API service outside smart contracts for your other applications. Get in touch to learn more about integrating with our GeoAPI.

Thematic Areas & Dataset

The Shamba oracle uses regularly updated geospatial data from various global providers. Different providers use different algorithms to compute the same metric, so it is recommended that users go through the literature for each dataset. Normalization has been performed where necessary to standardize values from different datasets under a common theme.

Air Quality

_images/Shamba_Dataset_Flyers_21.png

Properties

Value

Pixel Size (metres)

1113.2

Image Capture Frequency

1 day

Bands

CO_column_number_density

Geographic Coverage

Global

Read More

Link_21

_images/Shamba_Dataset_Flyers_22.png

Properties

Value

Pixel Size (metres)

1113.2

Image Capture Frequency

1 day

Bands

CO_column_number_density

Geographic Coverage

Global

Read More

Link_22

_images/Shamba_Dataset_Flyers_23.png

Properties

Value

Pixel Size (metres)

1113.2

Image Capture Frequency

1 day

Bands

SO2_column_number_density

Geographic Coverage

Global

Read More

Link_23

_images/Shamba_Dataset_Flyers_24.png

Properties

Value

Pixel Size (metres)

1113.2

Image Capture Frequency

1 day

Bands

SO2_column_number_density

Geographic Coverage

Global

Read More

Link_24

_images/Shamba_Dataset_Flyers_25.png

Properties

Value

Pixel Size (metres)

1113.2

Image Capture Frequency

1 day

Bands

NO2_column_number_density

Geographic Coverage

Global

Read More

Link_25

_images/Shamba_Dataset_Flyers_26.png

Properties

Value

Pixel Size (metres)

1113.2

Image Capture Frequency

1 day

Bands

NO2_column_number_density

Geographic Coverage

Global

Read More

Link_26

_images/Shamba_Dataset_Flyers_27.png

Properties

Value

Pixel Size (metres)

1113.2

Image Capture Frequency

1 day

Bands

CH4_column_number_density

Geographic Coverage

Global

Read More

Link_27

Evapo-Transpiration

_images/Shamba_Dataset_Flyers_01.png

Properties

Value

Pixel Size (metres)

248.2

Image Capture Frequency

10 days

Bands

L1_AETI_D

Geographic Coverage

Africa

Read More

Link_1

_images/Shamba_Dataset_Flyers_02.png

Properties

Value

Pixel Size (metres)

18924

Image Capture Frequency

Daily

Bands

L1_RET_E

Geographic Coverage

Africa

Read More

Link_2

_images/Shamba_Dataset_Flyers_03.png

Properties

Value

Pixel Size (metres)

500

Image Capture Frequency

8 days

Bands

ET

Geographic Coverage

Global

Read More

Link_3

Fire

_images/Shamba_Dataset_Flyers_17.png

Properties

Value

Pixel Size (metres)

1000

Image Capture Frequency

Daily

Bands

MaxFRP

Geographic Coverage

Global

Read More

Link_5

_images/Shamba_Dataset_Flyers_18.png

Properties

Value

Pixel Size (metres)

1000

Image Capture Frequency

Daily

Bands

MaxFRP

Geographic Coverage

Global

Read More

Link_6

_images/Shamba_Dataset_Flyers_19.png

Properties

Value

Pixel Size (metres)

2000

Image Capture Frequency

5 - 15 minutes

Bands

Power

Geographic Coverage

Americas, West Africa

Read More

Link_7

_images/Shamba_Dataset_Flyers_20.png

Properties

Value

Pixel Size (metres)

2000

Image Capture Frequency

5 - 15 minutes

Bands

Power

Geographic Coverage

Americas, West Africa

Read More

Link_8

Precipitation

_images/Shamba_Dataset_Flyers_05.png

Properties

Value

Pixel Size (metres)

27830

Image Capture Frequency

Daily

Bands

Precipitation

Geographic Coverage

Global

Read More

Link_9

_images/Shamba_Dataset_Flyers_06.png

Properties

Value

Pixel Size (metres)

5566

Image Capture Frequency

Daily

Bands

Precipitation

Geographic Coverage

Global

Read More

Link_10

_images/Shamba_Dataset_Flyers_07.png

Properties

Value

Pixel Size (metres)

11132

Image Capture Frequency

Hourly

Bands

hourlyPrecipRate

Geographic Coverage

Global

Read More

Link_11

_images/Shamba_Dataset_Flyers_28.png

Properties

Value

Pixel Size (metres)

4638.3

Image Capture Frequency

5 days

Bands

Precipitation

Geographic Coverage

USA

Read More

Link_28

Soil Moisture

_images/Shamba_Dataset_Flyers_08.png

Properties

Value

Pixel Size (metres)

10000

Image Capture Frequency

2 - 3 days

Bands

ssm

Geographic Coverage

Global

Read More

Link_12

Temperature

_images/Shamba_Dataset_Flyers_09.png

Properties

Value

Pixel Size (metres)

1000

Image Capture Frequency

Daily

Bands

LST_Day_1km

Geographic Coverage

Global

Read More

Link_13

_images/Shamba_Dataset_Flyers_10.png

Properties

Value

Pixel Size (metres)

1000

Image Capture Frequency

Daily

Bands

LST_Day_1km

Geographic Coverage

Global

Read More

Link_14

Vegetation

_images/Shamba_Dataset_Flyers_04.png

Properties

Value

Pixel Size (metres)

10

Image Capture Frequency

5 days

Bands

NDVI, EVI

Geographic Coverage

Global

Read More

Link_15

_images/Shamba_Dataset_Flyers_11.png

Properties

Value

Pixel Size (metres)

500

Image Capture Frequency

4 days

Bands

Fpar, Lai

Geographic Coverage

Global

Read More

Link_16

_images/Shamba_Dataset_Flyers_12.png

Properties

Value

Pixel Size (metres)

250

Image Capture Frequency

16 days

Bands

NDVI, EVI

Geographic Coverage

Global

Read More

Link_17

_images/Shamba_Dataset_Flyers_13.png

Properties

Value

Pixel Size (metres)

250

Image Capture Frequency

16 days

Bands

NDVI, EVI

Geographic Coverage

Global

Read More

Link_18

_images/Shamba_Dataset_Flyers_14.png

Properties

Value

Pixel Size (metres)

500

Image Capture Frequency

8 days

Bands

Fpar, Lai

Geographic Coverage

Global

Read More

Link_19

_images/Shamba_Dataset_Flyers_15.png

Properties

Value

Pixel Size (metres)

500

Image Capture Frequency

16 days

Bands

NDVI, EVI, EVI2

Geographic Coverage

Global

Read More

Link_20

_images/Shamba_Dataset_Flyers_29.png

Properties

Value

Pixel Size (metres)

30

Image Capture Frequency

16 days

Bands

GPP

Geographic Coverage

USA

Read More

Link_29

_images/Shamba_Dataset_Flyers_30.png

Properties

Value

Pixel Size (metres)

250

Image Capture Frequency

8 days

Bands

GPP

Geographic Coverage

USA

Read More

Link_30

_images/Shamba_Dataset_Flyers_31.png

Properties

Value

Pixel Size (metres)

500

Image Capture Frequency

8 days

Bands

Gpp

Geographic Coverage

Global

Read More

Link_31

_images/Shamba_Dataset_Flyers_32.png

Properties

Value

Pixel Size (metres)

500

Image Capture Frequency

8 days

Bands

Gpp

Geographic Coverage

Global

Read More

Link_32