Skip to Content

Configuration

To launch a Meili service or instantiate a MapMatcherFactor, you need to pass it the Valhalla configuration file, which holds all configurations for Meili at the node meili.

Map Matching Parameters

The map matching parameters control accuracy and performance of the map matching process. All transport mode nodes (auto, pedestrian, bicycle, multimodal) can hold its own settings of these parameters, otherwise the setting in default node will be used.

All transport modes can specify following parameters:

ParametersDescriptionDefault
sigma_ zA non-negative value to specify the GPS accuracy (the variance of the normal distribution) of an incoming GPS sequence. It is also used to weight emission costs of measurements.4.07
betaA non-negative emprical value to weight the transition cost of two successive candidates.3
max_route_distance_factorA non-negative value used to limit the routing search range which is the distance to next measurement multiplied by this factor.5
max_route_time_factorA non-negative value used to limit the routing search range which is the time to next measurement multiplied by this factor.5
breakage_distanceA non-negative value. If two successive measurements are far than this distance, then connectivity in between will not be considered.2000 (meters)
interpolation_distanceIf two successive measurements are closer than this distance, then the later one will be interpolated into the matched route.10 (meters)
search_radiusA non-negative value to specify the search radius (in meters) within which to search road candidates for each measurement.50 (meters)
max_search_radiusSpecify the upper bound of search_radius100 (meters)
turn_penalty_factorA non-negative value to penalize turns from one road segment to next.0 (meters)

Service Parameters

The service parameters below are only used in the Meili service:

ParametersDescriptionDefault
modeSpecify the default transport mode.multimodal
customizableSpecify which parameters are allowed to be customized by URL query parameters.["mode", "search_radius"]
verboseControl verbose output for debugging.false
Last updated on