Skip to content

Penalties for urban routing vs non-urban or through-roads #1414

@Skippern

Description

@Skippern

I am trying to sort out why routing is pulled through Vila Velha and Vitoria instead of following BR-101 (see 1 and 2). Both alternatives have maxspeed set, as well as surface, most turn restrictions should be in place, toll stations (both alternatives are toll roads), but I see that still are missing traffic signals, pedestrian crossings, stop signs to some extents on both alternatives. This will mainly result in extended time for the urban option (which should not be desired for through traffic). After asking on irc channel osrm and tried to interpret the car.lua profile, I see that traffic signals are penalised by 2 (seconds?) while none of the other tags that might impact routing in an urban situation, such as pedestrian crossings, stop signs, give way signs are penalised.

  • It seems to me that 2 seconds penalty for traffic signals are little, this should maybe be increased.
  • Stop sign means full stop, and should be penalised as such.
  • Give way generally means full stop, and should be penalised, though maybe not as much as a full stop
  • Pedestrian crossing means that you probably will need to make a full stop, that is if not already penalised by traffic signals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions