{"action":"closed","issue":{"url":"https://api.github.com/repos/nrenner/brouter-web/issues/17","labels_url":"https://api.github.com/repos/nrenner/brouter-web/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/nrenner/brouter-web/issues/17/comments","events_url":"https://api.github.com/repos/nrenner/brouter-web/issues/17/events","html_url":"https://github.com/nrenner/brouter-web/issues/17","id":69133858,"number":17,"title":"Wrong reading of isunpaved in profile fastbike?","user":{"login":"MaartenDeen","id":1825970,"avatar_url":"https://avatars.githubusercontent.com/u/1825970?v=3","gravatar_id":"","url":"https://api.github.com/users/MaartenDeen","html_url":"https://github.com/MaartenDeen","followers_url":"https://api.github.com/users/MaartenDeen/followers","following_url":"https://api.github.com/users/MaartenDeen/following{/other_user}","gists_url":"https://api.github.com/users/MaartenDeen/gists{/gist_id}","starred_url":"https://api.github.com/users/MaartenDeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaartenDeen/subscriptions","organizations_url":"https://api.github.com/users/MaartenDeen/orgs","repos_url":"https://api.github.com/users/MaartenDeen/repos","events_url":"https://api.github.com/users/MaartenDeen/events{/privacy}","received_events_url":"https://api.github.com/users/MaartenDeen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-17T12:56:30Z","updated_at":"2015-07-03T20:36:52Z","closed_at":"2015-07-03T20:36:52Z","body":"I have [this route] (http://brouter.de/brouter-web/#zoom=16&lat=51.42302&lon=5.96575&layer=OpenStreetMap&lonlats=5.967979,51.429825|5.963602,51.419389&nogos=&alternativeidx=0&format=geojson&profile=fastbike).\r\nWith profile fastbike this has a cost of 3217.\r\n\r\nIt traverses a few ways tagged as highway=track, tracktype=grade2 with no additional tags: ways [140423237](http://www.openstreetmap.org/way/140423237), [277710748](http://www.openstreetmap.org/way/277710748) and [140423241](http://www.openstreetmap.org/way/140423241).\r\nIf I read the profile of fastbike right, an unpaved grade2 has cost 10, paved (not unpaved) grade2 has cost 3\r\n**switch tracktype=grade2 switch isunpaved 10 3**\r\n\r\nWhen I edit the profile and change this line to **switch tracktype=grade2 switch isunpaved 100 3**, the route is the same and the cost also stays on 3217. If I do **switch tracktype=grade2 switch isunpaved 10 3.1**, the cost goes to 3286.\r\n\r\nFor some reason, the tracks are seen as paved?\r\nOr does the switch not work for some reason?\r\n"}}