Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C chouette-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 36
    • Merge requests 36
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • chouette-core
  • Merge requests
  • !565

Closed
Created May 11, 2018 by Administrator@rootMaintainer
  • Report abuse
Report abuse

6952 waycost costs under 500m birds eye distance should sna

  • Overview 3
  • Commits 6
  • Changes 7

Created by: teddywing

After calculating WayCosts from TomTom, calculate the “crow flies” distance of those costs. If the “crow flies” distance is under 500 metres, distance should be snapped to 1 kilometre and time should be snapped to 1 minute.

We do this to get around a TomTom edge case. For example: Two StopAreas are on opposite sides of a highway. When TomTom is asked for the distance & time between them, it follows the road. This means the cost includes the ride to an offramp, crossing the highway, and driving back to the StopArea on the other side.

In that case, we don't care about the extra driving cost, only the actual physical distance between the StopAreas.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: 6952-waycost--costs-under-500m-birds-eye-distance-should-sna