C# 클래스 IsraelHiking.API.Services.Osm.OsmDataService

상속: IOsmDataService
파일 보기 프로젝트 열기: IsraelHikingMap/Site

공개 메소드들

메소드 설명
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