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