Skip to content

Routing basics

Level L2

A good understanding of routing is necessary to correctly classify segments.

The WME classifies segments according to a hierarchy that directly influences the navigation algorithm, particularly for long-distance trips.

Road type hierarchy

From most important to least important:

  1. Freeways and expressways (Freeway / Major Highway)
  2. Ramps (special case)
  3. Major roads (Minor Highway)
  4. Primary streets (Primary Street)
  5. Streets (Street)

Continuity principle

Type continuity is essential in the WME: you must never interrupt a sequence of segments of a given type with segments of a lower type.

Example: a national road must not be interrupted by a segment classified as "Street". This breaks the consistency of the network and disrupts the calculation of long routes.

Pruning mechanism

Waze uses a system of progressive pruning: the further you move away from the origin or the destination, the more low-priority roads are excluded from the calculation.

Road typeBehavior
Street / Primary streetExcluded beyond a certain distance threshold
Major / minor roadsHigher exclusion threshold
Freeways / RampsNever excluded

Short vs long trips

Short trip (e.g. Genève to Lausanne): all road types are considered, including local streets.

Long trip (e.g. Genève to Zurich): only freeways and major roads are used. Secondary roads come into play only near the origin/destination or during a recalculation.

Routing preferences

Misconception

The "Avoid" preferences in the app do not prevent the local use of a segment. They only adjust the pruning thresholds for long-distance trips. A "penalized" segment remains usable locally.

Example

A road classified as "penalized" will always be used if it is the only option to reach a destination in the neighborhood. The effect only appears on large route calculations.

Lock levels

Swiss standard: expected lock level by road type.

Road typeLock level
FreewayL5
Major HighwayL4
Minor HighwayL3
Primary StreetL2
StreetL1

Reminder

The higher a road type is in the hierarchy, the higher the expected lock level. This protects the structuring segments of the network against unintentional modifications.

Lock in moderation. Locking mainly targets structuring types: freeways, roads, ramps and roundabouts. You should not lock everything without reason, because an overly broad lock needlessly slows down other editors.

An editor can only modify a locked segment if their rank is at least equal to the lock level. Choose the lock level according to the importance of the segment, not out of excessive caution.

Sources

Déjouons le trafic, ensembleGemeinsam dem Verkehr entfliehenSuperiamo il traffico, tutti assiemeOutsmarting traffic, together

Waze Community Switzerland · Community documentation, not affiliated with Waze/Google