Added rest of the modified files
This commit is contained in:
parent
bea4d207d0
commit
245e82adbc
@ -115,7 +115,7 @@ namespace FarmmapsApi.Services
|
|||||||
public async Task<Item> CreateTaskmap(Item cropfieldItem, Item tiffItem, string outputType, string cellWidth, string cellHeight,
|
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 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 cropTypeName = null, string costumerName = null, string ProductGroupName = null, string productName = null,
|
||||||
string resolution = null, string unitScale = null, string maximumClasses = null)
|
string resolution = "3", string unitScale = null, string maximumClasses = null)
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -377,9 +377,8 @@ namespace FarmmapsApi.Services
|
|||||||
}
|
}
|
||||||
|
|
||||||
_logger.LogInformation("Enter satellite image number for NBS application");
|
_logger.LogInformation("Enter satellite image number for NBS application");
|
||||||
int elment = Int32.Parse(Console.ReadLine());
|
int element = Int32.Parse(Console.ReadLine());
|
||||||
|
var selectedSatelliteItem = satelliteTiffs[element];
|
||||||
var selectedSatelliteItem = satelliteTiffs[elment];
|
|
||||||
|
|
||||||
if (selectedSatelliteItem == null) {
|
if (selectedSatelliteItem == null) {
|
||||||
_logger.LogError("Satellite item not found");
|
_logger.LogError("Satellite item not found");
|
||||||
|
@ -23,6 +23,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FarmMapsBlight", "FarmMapsB
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FarmmapsZonering", "FarmmapsZonering\FarmmapsZonering.csproj", "{91A58C4A-4A80-4079-B43D-9B851206194F}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FarmmapsZonering", "FarmmapsZonering\FarmmapsZonering.csproj", "{91A58C4A-4A80-4079-B43D-9B851206194F}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FarmmapsDataDownload", "FarmmapsDataDownload\FarmmapsDataDownload.csproj", "{32ED9500-AAAB-4030-9C7A-F611A85DF890}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@ -57,6 +59,10 @@ Global
|
|||||||
{91A58C4A-4A80-4079-B43D-9B851206194F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{91A58C4A-4A80-4079-B43D-9B851206194F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{91A58C4A-4A80-4079-B43D-9B851206194F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{91A58C4A-4A80-4079-B43D-9B851206194F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{91A58C4A-4A80-4079-B43D-9B851206194F}.Release|Any CPU.Build.0 = Release|Any CPU
|
{91A58C4A-4A80-4079-B43D-9B851206194F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{32ED9500-AAAB-4030-9C7A-F611A85DF890}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{32ED9500-AAAB-4030-9C7A-F611A85DF890}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{32ED9500-AAAB-4030-9C7A-F611A85DF890}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{32ED9500-AAAB-4030-9C7A-F611A85DF890}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -14,9 +14,7 @@ namespace FarmmapsNbs
|
|||||||
|
|
||||||
protected override void Configure(IServiceCollection serviceCollection)
|
protected override void Configure(IServiceCollection serviceCollection)
|
||||||
{
|
{
|
||||||
serviceCollection.AddLogging(opts => opts
|
serviceCollection.AddLogging()
|
||||||
.AddConsole()
|
|
||||||
.AddFilter("System.Net.Http", LogLevel.Warning))
|
|
||||||
.AddTransient<NitrogenService>();
|
.AddTransient<NitrogenService>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user