AGRI endpoints
Get The Cover Data From The Geojson Sent
Returns a json file containing the data results (data) and the geojson file sent with the ndvi profiles for each geometry (geoms), as follows :
{
"ready": true,
"successful": true,
"value": {
"data": {
"pra_maj": "",
"pra_com": "",
"pra_id": "",
"calc_date": "",
"ddc_meanp_sau": 222.0,
"ddc_meanp_sau_ta": 245.0,
"areaHA_ta": 126.80,
"ddc_meanp_pra_ta": 250.0,
"ddc_70qp_pra_ta": 280.0,
"ddc_q3_pra_ta": 300.0,
"crop_info": [
{
"code": "BTH",
"crop_area": 66.25044063314168,
"ddc_crop": 316,
"ddc_meanp_crop": 312,
'ddc_crop_PRA' : 312,
"plot_with_nan_bool": 7,
"dates_from_to": ["2022-10-01", "2023-09-30"],
"dates_from_to_for_nan_values": ["2022-10-05","2023-09-30"],
"ndvi_smooth_crop": [ 0.38339571033696423, ...],
'ndvi_smooth_crop_PRA' : [ 0.38339571033696423, ...],
},
{
"code": "BTN",
"crop_area": 19.528113742129072,
"ddc_crop": 189.66666666666666,
"ddc_meanp_crop": 185,
'ddc_crop_PRA' : 185,
"plot_with_nan_bool": 7,
"dates_from_to": ["2022-10-01", "2023-09-30"],
"dates_from_to_for_nan_values": ["2022-10-05","2023-09-30"],
"ndvi_smooth_crop": [ 0.38339571033696423, ...],
'ndvi_smooth_crop_PRA' : [ 0.38339571033696423, ...],
},
]
},
"geoms": {
"type": "FeatureCollection",
"name": "",
"crs": {
"type": "",
"properties": {
"name": ""
}
},
"features": [...]
}
}
}
Find in each features of geom the ndvi values of each days of the campaign selected (ndvi_smooth)
"dates_from_to": ["2022-10-01", "2023-09-30"],
"plot_area": 19.528113742129072,
"NaN_bool": 0,
"dates_from_to_with_values": ["2022-10-20", "2023-09-30"], // If Nan_bool
"ndvi_smooth": [0.28391156105480225, 0.28871222234212174, 0.292315884010736, ... , 0.5814468151960611],
get/agri/async/get-cover/{id}
Path parameters
idstring required
Response
OK
{"stackTrail":"paths:/agri/async/get-cover/{id}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.