2021-03-01 13:33:29 +00:00
//[
2020-12-18 13:03:35 +00:00
2021-01-28 14:29:11 +00:00
//Formule kan meerdere inputs aan
// Met blokhaken en een nummer specificeer je een input:
//[0], [10]. etc...
// Aan de hand van de volgorde van input wordt momenteel bepaald welk nummer bij welk input hoort.
//[0] is dus de eerst tiff opgegeven.Als het goed is maakt het nummer nu niks uit, dus als er 2 inputs zijn en in de formule staan[0] en[10] dan zal die nog steeds werken.
//De volgorde van de tiff kun je verslepen, bij de formule inputs kun je de input van het ene[0] slot naar het andere slepen[10]
//Functies: abs, min en max
//Constanten: pi en e
2020-12-18 09:39:21 +00:00
2021-01-28 14:29:11 +00:00
//if ([0] -[1])/ ([0] +[1]) < 0 then 0
//else if ([0] -[1])/ ([0] +[1]) > 1 then 1
//else ([0] -[1]) / ([0] +[1])
2020-12-18 09:39:21 +00:00
//{
2021-01-28 14:29:11 +00:00
// "InputItemOne": "20201106_Sentinel2_L2A_B04.tiff",
// "InputItemTwo": "20201106_Sentinel2_L2A_B08.tiff",
// "Formula": "([1]-[0])/([1]+[0])",
// "CreatedLayerName": "Biomassa",
// "CalculatedQuantity": "NDVI",
// "CalculatedUnit": "ndviValue",
// "OutputFileName": "FullField_NDVI",
// "CropFieldName": "FullField",
// "CreateNewCropfield": false,
// "CropYear": 2020,
2020-12-18 09:39:21 +00:00
// "geometryJson": {
// "type": "Polygon",
// "coordinates": [
2021-01-28 14:29:11 +00:00
2020-12-18 09:39:21 +00:00
// [
2021-01-28 14:29:11 +00:00
// [ 4.9593709, 52.8014339 ],
// [ 4.9675488, 52.7943149 ],
// [ 4.9735195, 52.7968665 ],
// [ 4.9667833, 52.8030414 ],
// [ 4.9593709, 52.8014339 ]
2020-12-18 09:39:21 +00:00
// ]
2021-01-28 14:29:11 +00:00
2020-12-18 09:39:21 +00:00
// ]
2021-01-28 14:29:11 +00:00
// },
2021-03-01 13:33:29 +00:00
[
//{
// "InputItemOne": "20210127_L2A_B08_(Raw).tiff",
// "InputItemTwo": "20210127_L2A_B04_(Raw).tiff",
// "Formula": "([0]-[1])/([0]+[1])+0.3",
// "CalculatedLayerName": "Biomassa",
// "CalculatedQuantity": "NDVI",
// "CalculatedUnit": "wdviValue",
// "OutputFileName": "20210212_NDVI-test",
// "CropFieldName": "Mahindra-Hapreet_Singh-2",
// "UseShadow": false,
// "GetWatBal": false,
// "GetVanDerSat": false,
// "storeVanDerSatStatistics": false,
// "CropYear": 2020,
// "geometryJson": {
// "type": "Polygon",
// "coordinates": [
// [
// [ 31.63887936537028, 75.92907261717566 ],
// [ 31.63895684173582, 75.93143281072912 ],
// [ 31.63940906549488, 75.93135348937818 ],
// [ 31.63931497834855, 75.9290907801773 ],
// [ 31.63887936537028, 75.92907261717566 ]
// ]
// ]
// }
//}
2020-12-16 09:09:24 +00:00
{
2021-03-01 13:33:29 +00:00
"InputItemOne" : "2020-04-22_sentinel-2_l2a_b08.tiff" ,
"InputItemTwo" : "2020-04-22_sentinel-2_l2a_b04.tiff" ,
"Formula" : "([0]-[1])/([0]+[1])" ,
"CalculatedLayerName" : "Biomassa" ,
2021-01-28 14:29:11 +00:00
"CalculatedQuantity" : "NDVI" ,
"CalculatedUnit" : "ndviValue" ,
2021-03-01 13:33:29 +00:00
"OutputFileName" : "20210212_NDVI-test_FS" ,
"CropFieldName" : "MestSiloAduard" ,
2020-12-16 09:09:24 +00:00
"UseShadow" : false ,
2021-01-28 14:29:11 +00:00
"GetWatBal" : false ,
2021-03-01 13:33:29 +00:00
"GetVanDerSat" : false ,
"storeVanDerSatStatistics" : false ,
2021-01-28 14:29:11 +00:00
"CropYear" : 2020 ,
2020-12-16 09:09:24 +00:00
"geometryJson" : {
"type" : "Polygon" ,
"coordinates" : [
[
2021-03-01 13:33:29 +00:00
[ 6.48274677 , 53.25861525 ] ,
[ 6.48740108 , 53.25799841 ] ,
[ 6.48756130 , 53.25934424 ] ,
[ 6.48285892 , 53.25953650 ] ,
[ 6.48274677 , 53.25861525 ]
2020-12-16 09:09:24 +00:00
]
]
2021-01-28 14:29:11 +00:00
2020-12-16 09:09:24 +00:00
}
}
2021-03-01 13:33:29 +00:00
2020-12-18 09:22:23 +00:00
]