ITADN

turns are not recognized reliably

#894Openpcace 创建于 2026-03-20
P
pcacecommented
Hi there, i have a question how i can figure out why a turn is not properly recognized: if i open this track for example: https://brouter.de/essbee/#map=15/52.3909/13.2768/osm-mapnik-german_style&lonlats=13.281913,52.387832;13.28099,52.390255&profile=trekking_SB it returns this geojson: (https://brouter.de/brouter?lonlats=13.281913,52.387832|13.281076,52.390216&profile=trekking_SB&alternativeidx=0&format=geojson) ``` { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "creator": "BRouter-1.7.0", "name": "brouter_trekking_SB_0", "track-length": "333", "filtered ascend": "3", "plain-ascend": "3", "total-time": "65", "total-energy": "6485", "cost": "465", "messages": [ ["Longitude", "Latitude", "Elevation", "Distance", "CostPerKm", "ElevCost", "TurnCost", "NodeCost", "InitialCost", "WayTags", "NodeTags", "Time", "Energy"], ["13280759", "52390324", "42", "333", "1350", "0", "15", "0", "0", "reversedirection=yes highway=residential surface=asphalt maxspeed=30", "", "64", "6485"] ], "times": [0,9.178,20.307,33.079,40.479,48.577,59.597,60.408,64.848] }, "geometry": { "type": "LineString", "coordinates": [ [13.281846, 52.387890, 39.25], [13.282005, 52.388320, 39.75], [13.282197, 52.388835, 40.0], [13.282412, 52.389431, 40.25], [13.282536, 52.389777, 40.5], [13.281988, 52.389946, 40.75], [13.281317, 52.390152, 41.5], [13.281262, 52.390170, 41.5], [13.280988, 52.390253, 42.25] ] } } ] } ``` looking at the messages section i can see that there is only the finish point included, not the turn which should be somewhere in the middle. if i do this for example in openstreetmap.org: https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=52.3874%2C13.28173%3B52.390916%2C13.278855#map=17/52.389168/13.280706 it does show the turn. so i guess its not the osm data itself, but more the routing algorithm. is there anything i can do to make it "see" the turn? I am not sure if this is a bug or a "feature". Thanks a lot for response :) Cheers and keep up the great work!
9 条评论