C# Класс IsraelHiking.API.Services.Osm.OsmDataService

Наследование: IOsmDataService
Показать файл Открыть проект

Открытые методы

Метод Описание
Initialize ( string serverPath ) : System.Threading.Tasks.Task

Initializes the service.

OsmDataService ( IGraphHopperHelper graphHopperHelper, IHttpGatewayFactory httpGatewayFactory, IRemoteFileSizeFetcherGateway remoteFileSizeFetcherGateway, IFileSystemHelper fileSystemHelper, IElasticSearchGateway elasticSearchGateway, INssmHelper elasticSearchHelper, IOsmRepository osmRepository, IOsmGeoJsonPreprocessor osmGeoJsonPreprocessor, ILogger logger ) : System
UpdateData ( OsmDataServiceOperations operations ) : System.Threading.Tasks.Task

Приватные методы

Метод Описание
FetchOsmFile ( string osmFilePath ) : System.Threading.Tasks.Task
UpdateElasticSearchFromFile ( string osmFilePath ) : System.Threading.Tasks.Task
UpdateElesticSearchHighwaysDataUsingPaging ( List highways ) : void
UpdateElesticSearchNamesDataUsingPaging ( Dictionary geoJsonNamesDictionary ) : void

Описание методов

Initialize() публичный Метод

Initializes the service.
public Initialize ( string serverPath ) : System.Threading.Tasks.Task
serverPath string Bin folder where all dlls are.
Результат System.Threading.Tasks.Task

OsmDataService() публичный Метод

public OsmDataService ( IGraphHopperHelper graphHopperHelper, IHttpGatewayFactory httpGatewayFactory, IRemoteFileSizeFetcherGateway remoteFileSizeFetcherGateway, IFileSystemHelper fileSystemHelper, IElasticSearchGateway elasticSearchGateway, INssmHelper elasticSearchHelper, IOsmRepository osmRepository, IOsmGeoJsonPreprocessor osmGeoJsonPreprocessor, ILogger logger ) : System
graphHopperHelper IGraphHopperHelper
httpGatewayFactory IHttpGatewayFactory
remoteFileSizeFetcherGateway IRemoteFileSizeFetcherGateway
fileSystemHelper IFileSystemHelper
elasticSearchGateway IElasticSearchGateway
elasticSearchHelper INssmHelper
osmRepository IOsmRepository
osmGeoJsonPreprocessor IOsmGeoJsonPreprocessor
logger ILogger
Результат System

UpdateData() публичный Метод

public UpdateData ( OsmDataServiceOperations operations ) : System.Threading.Tasks.Task
operations OsmDataServiceOperations
Результат System.Threading.Tasks.Task