in KPIApplication possible to (1) add an operation, e.g. applying fertilizer and (2) add a cropfield characteristic containing cropyield.

This commit is contained in:
2023-10-04 17:21:05 +02:00
parent f04cc239d5
commit fedd363075
6 changed files with 221 additions and 77 deletions

View File

@@ -1,16 +1,8 @@
[
{
"UseCreatedCropfield": true,
"CropfieldItemCode": "38870d5ff9b54b12877b5b01018b6fec",
"outputFileName": "TestData",
//"fieldName": "aardappelveld_test",
//"DownloadFolder": "Downloads", //"C:\\workdir\\groenmonitor\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\
"GetCropRecordings": false,
//cropfield code. toevoegen
"CropYear": 2022,
"dataDate": "2022-04-15T00:00:00Z",
"dataEndDate": "2022-09-15T00:00:00Z",
"data": {
"CropfieldItemCode": "",
"dataCropfield": {
//"area": 4.22,
"final": true,
//"soilCode": "5",
@@ -22,6 +14,39 @@
"productionPurposeCode": "003"
//"productionPurposeName": "consumption"
},
"UseCreatedCropRecording": true,
"CropRecordingItemCode": "",
"dataCropRecording": {}, //not yet used
"UseCreatedOperation": true,
"OperationItemCode": "",
"dataOperation": {
"n": "92",
"to": "2022-05-23T12:34:00",
"area": "0.08", //?!
"from": "2022-05-23T11:34:00",
"name": "Kunstmest strooien",
"unit": "kg/ha",
"method": "70400",
"status": "3",
"product": "7360",
"quantity": "200",
"unitCode": "KGMHAR", //?!
"contractor": false,
"designator": "Kunstmest strooien",
"operationCode": "7"
},
"UseCreatedCropfieldCharacteristic": false,
"CropfieldCharacteristicItemCode": "",
"DataCropfieldCharacteristic": {
"code": "860619", //PO20231004: so what does this code mean? Can we see the code list somewhere?
"label": "cropyield",
"value": "48.01"
},
//"DownloadFolder": "Downloads", //"C:\\workdir\\groenmonitor\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\
"CropYear": 2022,
"dataDate": "2022-04-15T00:00:00Z",
"dataEndDate": "2022-09-15T00:00:00Z",
"fieldName": "aardappelveld_test",
//"ProcessAggegrateKpi": "false", // toegevoegd, want alleen veld level KPIs voor nu.
"geometryJson": {
"type": "Polygon",
@@ -49,8 +74,7 @@
]
]
]
}
},
"outputFileName": "TestData"
}
]