Compare commits
No commits in common. "641e09f8338104a581822c635342103ca80b7b8c" and "8bb5c6f581154d75433c5820e6bdedafbfb5894c" have entirely different histories.
641e09f833
...
8bb5c6f581
@ -96,7 +96,7 @@ namespace FarmmapsKPI
|
||||
return;
|
||||
}
|
||||
|
||||
// Use already created cropfield or create new one, added a Data input, with field specific data for the KPI calculation
|
||||
// Use already created cropfield or create new one
|
||||
Item cropfieldItem;
|
||||
if (useCreatedCropfield == true || string.IsNullOrEmpty(_settings.CropfieldItemCode))
|
||||
{
|
||||
@ -143,6 +143,8 @@ namespace FarmmapsKPI
|
||||
}
|
||||
|
||||
// Get KPI data for saving it in a file
|
||||
|
||||
|
||||
_logger.LogInformation($"Trying to get the cropfielditem: {cropfieldItem}");
|
||||
var KPIItem = await _generalService.GetKpiItemsForCropField(cropfieldItem);
|
||||
|
||||
|
@ -2,49 +2,30 @@
|
||||
{
|
||||
"UseCreatedCropfield": false,
|
||||
"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\
|
||||
"fieldName": "TestField",
|
||||
"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,
|
||||
"CropYear": 2022,
|
||||
"dataDate": "2022-04-15T00:00:00Z",
|
||||
"dataEndDate": "2022-09-15T00:00:00Z",
|
||||
"data": {
|
||||
//"area": 4.22,
|
||||
"final": true,
|
||||
//"soilCode": "5",
|
||||
"soilName": "Loam",
|
||||
"cropTypeCode": "1010101",
|
||||
"cropTypeName": "Potato",
|
||||
//"rootDepthMax": 45,
|
||||
//"emergenceDate": "2022-05-16T00:00:00",
|
||||
"productionPurposeCode": "003"
|
||||
//"productionPurposeName": "consumption"
|
||||
},
|
||||
//"ProcessAggegrateKpi": "false", // toegevoegd, want alleen veld level KPIs voor nu.
|
||||
"CrprecItem": "...", //item code of de crop recording parrent - can be found by opening the crop recording page of a field.
|
||||
"GetShadowData": false,
|
||||
"GetSatelliteData": false,
|
||||
"SatelliteBand": "wdvi", // "natural", "ndvi" or "wdvi"
|
||||
"StoreSatelliteStatisticsSingleImage": false,
|
||||
"StoreSatelliteStatisticsCropYear": false,
|
||||
"GetVanDerSatData": false,
|
||||
"StoreVanDerSatStatistics": false,
|
||||
"CropYear": 2020,
|
||||
"ProcessAggegrateKpi": "false", // toegevoegd, want alleen veld level KPIs voor nu.
|
||||
"geometryJson": {
|
||||
"type": "Polygon",
|
||||
"coordinates": [
|
||||
[
|
||||
[
|
||||
5.5945257993548765,
|
||||
52.57080744107003
|
||||
],
|
||||
[
|
||||
5.598645994070678,
|
||||
52.571540800206236
|
||||
],
|
||||
[
|
||||
5.599381743127071,
|
||||
52.57012773140724
|
||||
],
|
||||
[
|
||||
5.595408698222548,
|
||||
52.56968054825188
|
||||
],
|
||||
[
|
||||
5.5945257993548765,
|
||||
52.57080744107003
|
||||
]
|
||||
[ 4.960707146896585, 52.800583669708487 ],
|
||||
[ 4.960645975538824, 52.800470217610922 ],
|
||||
[ 4.962140695752897, 52.799177147194797 ],
|
||||
[ 4.967523821195745, 52.801502400041208 ],
|
||||
[ 4.966336768950911, 52.802543735879809 ],
|
||||
[ 4.961711880764330, 52.801009996856429 ],
|
||||
[ 4.960707146896585, 52.800583669708487 ]
|
||||
]
|
||||
]
|
||||
}
|
||||
|
@ -15,6 +15,12 @@ namespace FarmmapsKPI.Models
|
||||
public JObject Data { get; set; }
|
||||
public string InputLayerName { get; set; }
|
||||
public string fieldName { get; set; }
|
||||
//public bool GetSatelliteData { get; set; }
|
||||
// public bool GetVanDerSatData { get; set; }
|
||||
// public string SatelliteBand { get; set; }
|
||||
// public bool StoreSatelliteStatisticsSingleImage { get; set; }
|
||||
// public bool StoreSatelliteStatisticsCropYear { get; set; }
|
||||
//public bool StoreVanDerSatStatistics { get; set; }
|
||||
public bool GetShadowData { get; set; }
|
||||
public bool GetCropRecordings { get; set; }
|
||||
public string CrprecItem { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user