Match
Matches/snaps given GPS points to the road network in the most plausible way.
Examples:
>>> res = osrm_py.Match(match_params)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
match_params
|
MatchParameters
|
MatchParameters Object. |
required |
Returns:
| Type | Description |
|---|---|
json
|
Raises:
| Type | Description |
|---|---|
RuntimeError
|
On invalid MatchParameters. |
Source code in osrm/osrm_ext.pyi
755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 | |
Match Parameters
Bases: RouteParameters
Source code in osrm/osrm_ext.pyi
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | |