Download OpenAPI specification:Download
リクエストされたGPSログ等の緯度経度点列(最大1000点)に対し、自動車向け道路ネットワークとのマップマッチングを行い、道路ネットワーク上に補正された緯度経度点列と道路の属性情報を返却します。
リクエストされた緯度経度点列に対して以下を提供します。
以下のような利用用途を想定しています。
shape
に同一緯度経度を2つ指定してください。
x-api-key required | string APIキーによる認証を行います。 |
content-type required | string content-typeに下記を設定してください。 |
required | Array of objects[ items [ 2 .. 1000 ] ] 入力する緯度経度点列形式
入力例
|
{- "shape": [
- {
- "lon": 139.70336,
- "lat": 35.69363
}, - {
- "lon": 139.70346,
- "lat": 35.69368
}
]
}
{- "shape": [
- [
- 139.70336,
- 35.69363
], - [
- 139.70346,
- 35.69368
]
], - "edges": [
- {
- "length": 0.018,
- "begin_shape_index": 1,
- "end_shape_index": 2,
- "road_class": "motorway",
- "toll": true,
- "bridge": true,
- "tunnel": true,
- "internal_intersection": true,
- "roundabout": false,
- "names": [
- "C1",
- "首都高速都心環状線",
- "Metropolitan Expressway Inner Circular Route"
], - "speed_limit": 100,
- "lane_count": 3,
- "sign": {
- "exit_name": [
- "汐留JCT",
- "汐留ランプ"
]
}
}
], - "matched_points": [
- {
- "type": "matched",
- "lon": 139.444812,
- "lat": 35.640524,
- "edge_index": 5,
- "distance_along_edge": 0.5,
- "distance_from_trace_point": 0.172329
}
]
}