コード例 #1
0
ファイル: OsrmClient.cs プロジェクト: JadYammine/Osrm.Client
 /// <summary>
 /// Map matching matches given GPS points to the road network in the most plausible way.
 /// Currently the algorithm works best with trace data that has a sample resolution of 5-10 samples/min.
 /// Please note the request might result multiple sub-traces.
 /// Large jumps in the timestamps (>60s) or improbable transitions lead to trace splits if a complete matching could not be found.
 /// The algorithm might not be able to match all points.
 /// Outliers are removed if they can not be matched successfully.
 /// </summary>
 /// <param name="requestParams"></param>
 /// <returns></returns>
 public async Task <MatchResponse> MatchAsync(MatchRequest requestParams)
 {
     return(await SendAsync <MatchResponse>(MatchServiceName, requestParams.UrlParams));
 }
コード例 #2
0
 public MatchResponse Match(MatchRequest requestParams)
 {
     return(Send <MatchResponse>(MatchServiceName, requestParams));
 }