probeersel om een runKPItask te maken
This commit is contained in:
@@ -146,8 +146,7 @@ namespace FarmmapsKPI
|
||||
|
||||
//_logger.LogInformation("Calculate KPI map for field");
|
||||
//var KPIItem = await _generalService.RunKPITask(cropfieldItem);
|
||||
var KPIItem = null;
|
||||
if (KPIItem == null)
|
||||
if ((object)null == null)
|
||||
{
|
||||
_logger.LogError("Something went wrong while obtaining the KPI map");
|
||||
return;
|
||||
|
@@ -1,10 +1,10 @@
|
||||
[
|
||||
{
|
||||
"UseCreatedCropfield": false,
|
||||
"UseCreatedCropfield": true,
|
||||
"outputFileName": "TestData",
|
||||
"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": true,
|
||||
"GetCropRecordings": false,
|
||||
"CrprecItem": "...", //item code of de crop recording parrent - can be found by opening the crop recording page of a field.
|
||||
"GetShadowData": false,
|
||||
"GetSatelliteData": false,
|
||||
|
@@ -14,12 +14,12 @@ namespace FarmmapsKPI.Models
|
||||
public JObject GeometryJson { 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 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; }
|
||||
|
Reference in New Issue
Block a user