forked from FarmMaps/FarmMapsApiClient
small update for finding shape taskmap
This commit is contained in:
parent
915df2ac6b
commit
7c5bbf0fbe
@ -167,7 +167,7 @@ namespace FarmmapsApi.Services
|
|||||||
else if (outputType== "shape") {
|
else if (outputType== "shape") {
|
||||||
taskMapItem = await FindChildItemAsync(tiffItem.ParentCode,
|
taskMapItem = await FindChildItemAsync(tiffItem.ParentCode,
|
||||||
|
|
||||||
SHAPE_PROCESSED_ITEMTYPE, itemName);
|
SHAPE_PROCESSED_ITEMTYPE, outputType);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -178,7 +178,7 @@ namespace FarmmapsApi.Services
|
|||||||
|
|
||||||
if (taskMapItem == null)
|
if (taskMapItem == null)
|
||||||
{
|
{
|
||||||
_logger.LogError("Could not find the shape/isoxml taskmap as a child item under the input");
|
_logger.LogError("Could not find the shape/isoxml taskmap as a child item under the cropfield");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
//},
|
//},
|
||||||
|
|
||||||
{
|
{
|
||||||
"UseCreatedCropfield": true,
|
"UseCreatedCropfield": false,
|
||||||
"file": "", // keep emptpy to use satellite image
|
"file": "", // keep emptpy to use satellite image
|
||||||
"inputVariable": "wdvi",
|
"inputVariable": "wdvi",
|
||||||
"InputLayerName": "wdvi",
|
"InputLayerName": "wdvi",
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[
|
[
|
||||||
|
|
||||||
{
|
{
|
||||||
"File": "PlantingSampleDataLutumANDec.zip",
|
"File": "PlantingSampleDataLutum.zip",
|
||||||
"InputLayerName": "EC0-60",
|
//"InputLayerName": "EC0-60",
|
||||||
"OutputFileName": "2021.05.11_vraPoten_SampleDataMultipleLayers",
|
"OutputFileName": "2021.06.09_vraPoten_SampleData",
|
||||||
"FieldName": "lutum",
|
"FieldName": "lutum",
|
||||||
"PlantingYear": 2021,
|
"PlantingYear": 2021,
|
||||||
"MeanDensity": "30",
|
"MeanDensity": "30",
|
||||||
@ -24,10 +24,10 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"GenerateTaskmap": true,
|
"GenerateTaskmap": true,
|
||||||
"OutputType": "isoxml", // "shape" or "isoxml" if isoxml also add ddiCode
|
"OutputType": "shape", // "shape" or "isoxml" if isoxml also add ddiCode
|
||||||
"Precision": "2",
|
"Precision": "2",
|
||||||
"MaximumClasses": "5",
|
"MaximumClasses": "5",
|
||||||
"DdiCode": "0016",
|
"DdiCode": "0016", // DDI 0011 for count per area; DDI 0016 for distance (CM)
|
||||||
"CellWidth": "3",
|
"CellWidth": "3",
|
||||||
"CellHeight": "10",
|
"CellHeight": "10",
|
||||||
"Centered": "true",
|
"Centered": "true",
|
||||||
|
Loading…
Reference in New Issue
Block a user