added inputLayerName to CreateTaskmap
This commit is contained in:
		| @@ -119,13 +119,14 @@ namespace FarmmapsApi.Services | ||||
|         // Create taskmap based on width, height and direction | ||||
|  | ||||
|         public async Task<Item> CreateTaskmap(Item cropfieldItem, Item tiffItem, string outputType, string cellWidth, string cellHeight,   | ||||
|             string startPoint, string ddiCode = "0001", string centered = "false",  string endPoint = null, string angle = null, string precision = null, | ||||
|             string startPoint, string inputLayerName = null, string ddiCode = "0001", string centered = "false",  string endPoint = null, string angle = null, string precision = null, | ||||
|             string cropTypeName = null, string costumerName = null, string ProductGroupName = null, string productName = null,  | ||||
|             string resolution = "3", string unitScale = null, string maximumClasses = null) | ||||
|          | ||||
|  | ||||
|         { | ||||
|             var taskmapRequest = new TaskRequest { TaskType = TASKMAP_TASK }; | ||||
|             taskmapRequest.attributes["inputLayerName"] = inputLayerName; | ||||
|             taskmapRequest.attributes["inputCode"] = tiffItem.Code; | ||||
|             taskmapRequest.attributes["operation"] = outputType; // Currently onlye "shape" supported, if ISOXML is supported this should be an input | ||||
|             taskmapRequest.attributes["cellWidth"] = cellWidth; //metres | ||||
|   | ||||
		Reference in New Issue
	
	Block a user