302 lines
12 KiB
JSON
302 lines
12 KiB
JSON
[
|
|
{
|
|
"useExistingCropfieldWithChildren": false,
|
|
"deleteNewlyCreatedAfterCalc": true,
|
|
//Note when you run the FarmmapsKPI project, somewhere to your C:\git\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\ directory, files named like this are written:
|
|
//'Settings_aardappelveld_test_Potato_ZeroFertilizer.json', where 'aardappelveld_test_Potato_ZeroFertilizer.json' is your fieldName (see below)
|
|
//1 useExistingCropfieldWithChildren = false -> create new
|
|
//2 useExistingCropfieldWithChildren = true && CropfieldItemCode = "" or absent -> read fieldName (see below) -> read all codes from settings json file
|
|
//3 useExistingCropfieldWithChildren = true && CropfieldItemCode like "deb48a74c5b54299bb852f17288010e9" in KPIinput -> if you have in your account already an existing cropfield then use that
|
|
"CropfieldItemCode": "", // could contain for example this: "abae97f89f3c4ac08953b1b8bea9f076" if this is an exisiting CropfieldItemCode in your account.
|
|
//And then if useExistingCropfieldWithChildren = true, this would be used.
|
|
"dataCropfield": {
|
|
//"area": 4.22, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"final": true, //always true
|
|
//"soilCode": "5", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"soilName": "Loam", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"cropTypeCode": "1010101",
|
|
"cropTypeName": "Potato",
|
|
//"rootDepthMax": 45, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"emergenceDate": "2022-05-16T00:00:00", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"productionPurposeCode": "003"
|
|
//"productionPurposeName": "consumption" //not needed for KPI calculation, but shown here to know this is a possible property
|
|
},
|
|
"CropRecordingItemCode": "", // could contain for example this: "314aa1b6480b493ba28a5f55039a01d4" if this is the CropRecordingItemCode of the provided CropfieldItemCode. And then if useExistingCropfieldWithChildren = true, this would be used
|
|
"OperationItemCodes": [], // could contain for example this: ["4d1a6f28ea3f414180663baa4b08c60f"] or ["4d1a6f28ea3f414180663baa4b08c60f","21e08386f0454ad79acfebf78649d59b"] if these are the operations of the provided CropRecordingItemCode. And then if useExistingCropfieldWithChildren = true, these would be used
|
|
"dataOperations": [], //leaving the operations empty means no fertilizer is applied
|
|
"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:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_KB34_MAST\FarmmapsKPI\bin\Debug\netcoreapp3.1\Downloads\
|
|
"CropYear": 2022,
|
|
"fieldName": "aardappelveld_test_Potato_ZeroFertilizer",
|
|
//geometryJson = polygon of location of the cropfield, coordinates in LON,LAT (LON: decimal degrees East, LAT: decimal degrees North)
|
|
"geometryJson": {
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
],
|
|
[
|
|
5.598645994070678,
|
|
52.571540800206236
|
|
],
|
|
[
|
|
5.599381743127071,
|
|
52.57012773140724
|
|
],
|
|
[
|
|
5.595408698222548,
|
|
52.56968054825188
|
|
],
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
]
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"useExistingCropfieldWithChildren": false,
|
|
"deleteNewlyCreatedAfterCalc": true,
|
|
"CropfieldItemCode": "",
|
|
"dataCropfield": {
|
|
//"area": 4.22, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"final": true, //always true
|
|
//"soilCode": "5", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"soilName": "Loam", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"cropTypeCode": "1010101",
|
|
"cropTypeName": "Potato",
|
|
//"rootDepthMax": 45, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"emergenceDate": "2022-05-16T00:00:00", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"productionPurposeCode": "003"
|
|
//"productionPurposeName": "consumption" //not needed for KPI calculation, but shown here to know this is a possible property
|
|
},
|
|
"CropRecordingItemCode": "",
|
|
"OperationItemCodes": [],
|
|
"dataOperations": [
|
|
{
|
|
"area": "0.08", //?!
|
|
"contractor": false,
|
|
"designator": "Kunstmest strooien",
|
|
"from": "2022-05-23T11:34:00",
|
|
"method": "70400", //refers to codelist 127 with operation types
|
|
"n": "92",
|
|
"name": "Kunstmest strooien",
|
|
"operationCode": "7",
|
|
"product": "7360", //refers to codelist 022 with fertilizer types
|
|
"quantity": "200",
|
|
"status": "3",
|
|
"to": "2022-05-23T12:34:00",
|
|
"unit": "kg/ha",
|
|
"unitCode": "KGMHAR"
|
|
},
|
|
{
|
|
"k": "201.6",
|
|
"n": "144",
|
|
"p": "60.8",
|
|
"to": "2022-04-19T09:19:00",
|
|
"area": "0.08", //?!,
|
|
"from": "2022-04-19T08:19:00",
|
|
"name": "Injecteren",
|
|
"unit": "kg/ha",
|
|
"method": "70700",
|
|
"status": "3",
|
|
"product": "2329",
|
|
"quantity": "32000",
|
|
"unitCode": "KGMHAR",
|
|
"contractor": false,
|
|
"designator": "Injecteren",
|
|
"operationCode": "7"
|
|
}
|
|
],
|
|
"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:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\
|
|
"CropYear": 2022,
|
|
"fieldName": "aardappelveld_test_Potato_cattlemanure144kgnha_plusUrea92kgNha",
|
|
"geometryJson": {
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
],
|
|
[
|
|
5.598645994070678,
|
|
52.571540800206236
|
|
],
|
|
[
|
|
5.599381743127071,
|
|
52.57012773140724
|
|
],
|
|
[
|
|
5.595408698222548,
|
|
52.56968054825188
|
|
],
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
]
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"useExistingCropfieldWithChildren": false,
|
|
"deleteNewlyCreatedAfterCalc": true,
|
|
"CropfieldItemCode": "",
|
|
"dataCropfield": {
|
|
//"area": 4.22, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"final": true, //always true
|
|
//"soilCode": "5", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"soilName": "Loam", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"cropTypeCode": "1010101",
|
|
"cropTypeName": "Potato",
|
|
//"rootDepthMax": 45, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"emergenceDate": "2022-05-16T00:00:00", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"productionPurposeCode": "003"
|
|
//"productionPurposeName": "consumption" //not needed for KPI calculation, but shown here to know this is a possible property
|
|
},
|
|
"CropRecordingItemCode": "",
|
|
"OperationItemCodes": [],
|
|
"dataOperations": [
|
|
{
|
|
"area": "0.08", //?!
|
|
"contractor": false,
|
|
"designator": "Kunstmest strooien",
|
|
"from": "2022-05-23T11:34:00",
|
|
"method": "70400",
|
|
"n": "92",
|
|
"name": "Kunstmest strooien",
|
|
"operationCode": "7",
|
|
"product": "7360",
|
|
"quantity": "200",
|
|
"status": "3",
|
|
"to": "2022-05-23T12:34:00",
|
|
"unit": "kg/ha",
|
|
"unitCode": "KGMHAR"
|
|
}
|
|
],
|
|
"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:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\
|
|
"CropYear": 2022,
|
|
"fieldName": "aardappelveld_test_Potato_Urea92kgNha",
|
|
"geometryJson": {
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
],
|
|
[
|
|
5.598645994070678,
|
|
52.571540800206236
|
|
],
|
|
[
|
|
5.599381743127071,
|
|
52.57012773140724
|
|
],
|
|
[
|
|
5.595408698222548,
|
|
52.56968054825188
|
|
],
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
]
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"useExistingCropfieldWithChildren": false,
|
|
"deleteNewlyCreatedAfterCalc": true,
|
|
"CropfieldItemCode": "",
|
|
"dataCropfield": {
|
|
//"area": 4.22, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"final": true, //always true
|
|
//"soilCode": "5", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"soilName": "Loam", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"cropTypeCode": "1010101",
|
|
"cropTypeName": "Potato",
|
|
//"rootDepthMax": 45, //not needed for KPI calculation, but shown here to know this is a possible property
|
|
//"emergenceDate": "2022-05-16T00:00:00", //not needed for KPI calculation, but shown here to know this is a possible property
|
|
"productionPurposeCode": "003"
|
|
//"productionPurposeName": "consumption" //not needed for KPI calculation, but shown here to know this is a possible property
|
|
},
|
|
"CropRecordingItemCode": "",
|
|
"OperationItemCodes": [],
|
|
"dataOperations": [
|
|
{
|
|
"area": "0.08", //?!
|
|
"contractor": false,
|
|
"designator": "Kunstmest strooien",
|
|
"from": "2022-05-23T11:34:00",
|
|
"method": "70400",
|
|
//"n": "92",
|
|
"name": "Kunstmest strooien",
|
|
"operationCode": "7",
|
|
"product": "7360",
|
|
"quantity": "200",
|
|
"status": "3",
|
|
"to": "2022-05-23T12:34:00",
|
|
"unit": "kg/ha",
|
|
"unitCode": "KGMHAR"
|
|
}
|
|
],
|
|
"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:\\hugoschrererdir\\kpidir\\", // "Downloads", -> if you just put "Downloads" the program will download to somewhere in ..\FarmMapsApiClient_WURtest\FarmmapsDataDownload\bin\Debug\netcoreapp3.1\Downloads\
|
|
"CropYear": 2022,
|
|
"fieldName": "aardappelveld_test_Potato_Urea200kgha",
|
|
"geometryJson": {
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
],
|
|
[
|
|
5.598645994070678,
|
|
52.571540800206236
|
|
],
|
|
[
|
|
5.599381743127071,
|
|
52.57012773140724
|
|
],
|
|
[
|
|
5.595408698222548,
|
|
52.56968054825188
|
|
],
|
|
[
|
|
5.5945257993548765,
|
|
52.57080744107003
|
|
]
|
|
]
|
|
]
|
|
}
|
|
}
|
|
] |