forked from Project-OSRM/osrm-backend
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
With annotations=true
parameter, we can get full nodes
of each leg in route response. But some of the node IDs are invalid.
Here's a example:
- Request against my deployment:
GET /route/v1/driving/-122.006349,37.364336;-121.875654,37.313767?alternatives=3&annotations=true
- Got some nodeIDs in
response/routes/legs/annotations/nodes
:49873171102,237301600001101,49939882102,49939887102,1008867724102,1008867725102,955126824102,9280805980001100,49939901102
The ID 9280805980001100
is incorrect. The correct value is 9280805980001101
, which is correct in OSRM compiled data:
$ /osrm-build/osrm-files-extractor -alsologtostderr -f map.osrm.nbg_nodes -summary 1000000000 2>&1 | grep 92808059800011
I0410 06:24:26.269722 32 contents.go:59] osm_node_ids[220188955] 9280805980001101
It might be something wrong in unpack step, any may be caused by some IDs overflow: the problem seems only occurred on extermly long IDs.
Will investigate further.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working