{"action":"created","issue":{"url":"https://api.github.com/repos/OsmSharp/OsmSharp/issues/230","labels_url":"https://api.github.com/repos/OsmSharp/OsmSharp/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/OsmSharp/OsmSharp/issues/230/comments","events_url":"https://api.github.com/repos/OsmSharp/OsmSharp/issues/230/events","html_url":"https://github.com/OsmSharp/OsmSharp/issues/230","id":69884575,"number":230,"title":"Route.TotalTime very optimistic","user":{"login":"Lotto2","id":10242264,"avatar_url":"https://avatars.githubusercontent.com/u/10242264?v=3","gravatar_id":"","url":"https://api.github.com/users/Lotto2","html_url":"https://github.com/Lotto2","followers_url":"https://api.github.com/users/Lotto2/followers","following_url":"https://api.github.com/users/Lotto2/following{/other_user}","gists_url":"https://api.github.com/users/Lotto2/gists{/gist_id}","starred_url":"https://api.github.com/users/Lotto2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lotto2/subscriptions","organizations_url":"https://api.github.com/users/Lotto2/orgs","repos_url":"https://api.github.com/users/Lotto2/repos","events_url":"https://api.github.com/users/Lotto2/events{/privacy}","received_events_url":"https://api.github.com/users/Lotto2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T15:59:57Z","updated_at":"2015-04-27T10:15:20Z","closed_at":null,"body":"Hello,\r\n\r\nit seemed to me that Route.TotalTime was very optimistic. so i compared it to the results of a internet based routeplanner (http://www.falk.de/).\r\n\r\nthe middled factor was 1.4. Route.TotalTime * 1.4 led to a TotalTime close to that of falk,de.\r\n\r\none might assume that commercial route planners calculate extra time for stopping at traffic lights, accelerating / decelerating, going slower than permitted in narrow roads...\r\n\r\nmay i shyly suggest to use a static factor to get results of TotalTime less optimistic and more realistic?-)\r\n\r\nasks shyly\r\nLotto2\r\n"},"comment":{"url":"https://api.github.com/repos/OsmSharp/OsmSharp/issues/comments/96597209","html_url":"https://github.com/OsmSharp/OsmSharp/issues/230#issuecomment-96597209","issue_url":"https://api.github.com/repos/OsmSharp/OsmSharp/issues/230","id":96597209,"user":{"login":"xivk","id":1128068,"avatar_url":"https://avatars.githubusercontent.com/u/1128068?v=3","gravatar_id":"","url":"https://api.github.com/users/xivk","html_url":"https://github.com/xivk","followers_url":"https://api.github.com/users/xivk/followers","following_url":"https://api.github.com/users/xivk/following{/other_user}","gists_url":"https://api.github.com/users/xivk/gists{/gist_id}","starred_url":"https://api.github.com/users/xivk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xivk/subscriptions","organizations_url":"https://api.github.com/users/xivk/orgs","repos_url":"https://api.github.com/users/xivk/repos","events_url":"https://api.github.com/users/xivk/events{/privacy}","received_events_url":"https://api.github.com/users/xivk/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T10:15:20Z","updated_at":"2015-04-27T10:15:20Z","body":"It is optimistic. We could change it but there is only so much information available in OSM at the moment. It's improving but that's the way it is. I used to have a metric of about 75% of max speed.\r\n\r\nI'm also working on a way to handle historical traffic data in OsmSharp to get more realistic speeds but that's not for the next weeks more like months.\r\n\r\nYou can also try and use this:\r\n\r\nhttps://github.com/OsmSharp/OsmSharp/blob/master/OsmSharp.Routing/Metrics/Time/TimeCalculator.cs\r\n\r\nIt tries to calculate times more realistically based on turns and so on...\r\n\r\n"}}