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