Add contextual fiducial point downloads
This commit is contained in:
1 parent
85e1c93d8a
commit
ce355f820c
5 files changed
+262
-28
No files matched your search
@@ -40,6 +40,14 @@ public sealed class CadastralCatalogService
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
public async Task<MunicipalityOption?> FindMunicipalityAsync(string municipalityCode)
|
||||
{
|
||||
var code = (municipalityCode ?? string.Empty).Trim();
|
||||
var municipalities = await GetAllMunicipalitiesAsync();
|
||||
return municipalities.FirstOrDefault(item =>
|
||||
string.Equals(item.Code, code, StringComparison.OrdinalIgnoreCase));
|
||||
}
|
||||
|
||||
public async Task<IReadOnlyList<string>> GetSheetsAsync(
|
||||
MunicipalityOption municipality,
|
||||
IProgress<CatalogProgress>? progress = null,
|
||||
|
||||
Reference in new issue
Block a user