valhalla / demos

demos
MIT License
98 stars 58 forks source link

No edge/node costing provided #227

Open nickaein opened 4 years ago

nickaein commented 4 years ago

I'm getting the following error log for map_matching/index-internal.html demo on my local valhalla server:

66 2019/11/26 19:57:19.815257 GET /trace_attributes?api_key=&{%22costing%22:%22auto%22,%22shape_match%22:%22map_snap%22,%22filters%22:{%22attributes%22:[%22edge.way_id%22,%22edge.begin_shape_index%22,%22edge.end_shape_index%22,%22matched.point%22,%22matched.edge_index%22,%22matched.begin_route_discontinuity%22,%22matched.end_route_discontinuity%22,%22shape%22],%22action%22:%22include%22},%22encoded_polyline%22:%22jQuery111308051844215711581_1574798237645%22}&_=1574798237646 HTTP/1.1
2019/11/26 19:57:19.815359 [INFO] Got Loki Request 66
2019/11/26 19:57:19.815463 [ANALYTICS] 400::No edge/node costing provided
66 2019/11/26 19:57:19.815556 400 227

There seems to be an issue with the cost parameter but I couldn't figure it out after checking Map Matching API docs.

v-dimi commented 4 years ago

Did you manage to solve this? Facing same issue here with trace_route.