master #8
@ -241,25 +241,25 @@ namespace FarmmapsNbs
|
|||||||
Path.Combine(DownloadFolder, $"{input.OutputFileName}.application.zip"));
|
Path.Combine(DownloadFolder, $"{input.OutputFileName}.application.zip"));
|
||||||
_logger.LogInformation("Application map can be found in {0}", Path.Combine(DownloadFolder, $"{input.OutputFileName}.application.zip"));
|
_logger.LogInformation("Application map can be found in {0}", Path.Combine(DownloadFolder, $"{input.OutputFileName}.application.zip"));
|
||||||
|
|
||||||
// //transforming tiff to shape
|
//transforming tiff to shape
|
||||||
// var tiffItem = applicationMapItem;
|
var tiffItem = applicationMapItem;
|
||||||
|
|
||||||
// if (tiffItem == null)
|
if (tiffItem == null)
|
||||||
// {
|
{
|
||||||
// _logger.LogError("Could not find item for uploaded data");
|
_logger.LogError("Could not find item for uploaded data");
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
// _logger.LogInformation($"Converting geotiff to shape");
|
_logger.LogInformation($"Converting geotiff to shape");
|
||||||
// var taskmap = await _generalService.GeotiffToShape(tiffItem);
|
var taskmap = await _generalService.GeotiffToShape(tiffItem);
|
||||||
// if (taskmap == null)
|
if (taskmap == null)
|
||||||
// {
|
{
|
||||||
// _logger.LogError("Something went wrong with geotiff to shape transformation");
|
_logger.LogError("Something went wrong with geotiff to shape transformation");
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// _logger.LogInformation("Downloading taskmap");
|
_logger.LogInformation("Downloading taskmap");
|
||||||
// await _farmmapsApiService.DownloadItemAsync(taskmap.Code,
|
await _farmmapsApiService.DownloadItemAsync(taskmap.Code,
|
||||||
// Path.Combine(DownloadFolder, $"{input.OutputFileName}.taskmap.zip"));
|
Path.Combine(DownloadFolder, $"{input.OutputFileName}.taskmap.zip"));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user