[OSRM-talk] All route requests report status: 207
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Nov 14 05:52:57 UTC 2013
Dennis,
I can't get osrm-routed to generate a route. I'm guessing I did
something wrong in the process of generating the graph or extracting it
into the intermediate file.
All I get is status:207
GET 'http://localhost:5000/viaroute?loc=42.5,-74.5&loc=44.0,-75.5'
{"version": 0.3,"status":207,"status_message": "Cannot find route
between points","route_geometry": "","route_instructions":
[],"route_summary":{"total_distance":0,"total_time":214748365,"start_point":"","end_point":""},"alternative_geometries":
[],"alternative_instructions":[],"alternative_summaries":[],"route_name":["",""],"alternative_names":[["",""]],"via_points":[],"hint_data":
{"checksum":66848108, "locations":
["pssrALsDAAAAAAAA____fwAAAAAAAAAAXaRDAHCdiv8",
"pssrALsDAAAAAAAA____fwAAAAAAAAAAXaRDAHCdiv8"]},"transactionId": "OSRM
Routing Engine JSON Descriptor (v0.3)"}
Since it is late here, I'll check things in the morning. I'll build a
mapserver mapfile to display the graph and a web app to allow us to
interact with the map and the router.
Running osrm-prepare reported the following. Can you look this over and
see if anything looks off in it.
Thanks,
-Steve
$ osrm-prepare st.osrm
[info] Input file: st.osrm
[info] Restrictions file: st.osrm.restrictions
[info] Profile: profile.lua
[info] Threads: 8
[info] Importing n = 3069975 nodes
[info] and 3066984 edges
[info] Graph loaded ok and has 3066984 edges
[info] 0 restrictions, 0 bollard nodes, 0 traffic lights
[info] Generating edge-expanded graph representation
[info] Identifying components of the road network
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] identified: 284018 many components
[info] generating edge-expanded nodes
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 4632706 nodes in edge-expanded graph
[info] generating edge-expanded edges
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 4632706 edge based nodes
[info] Node-based graph contains 4632706 edges
[info] Edge-expanded graph ...
[info] contains 4631249 edges
[info] skips 0 turns, defined by 0 restrictions
[info] writing node map ...
[info] building r-tree ...
[info] constructing r-tree of 4632706 elements
[info] finished r-tree construction in 10.2177 seconds
[info] using software based CRC32 computation
[info] CRC32: 66848108
[info] initializing contractor
merged 0 edges out of 9262498
contractor finished initalization
Contractor is using 1 threads
initializing elimination PQ ...ok
preprocessing 4632706 nodes .... 10% . 20% . 30% . 40% . 50% . 60% .
[flush 3081249 nodes] 70% . 80% . 90% . 100%
100% [info] Contraction took 44.2668 sec
[info] Getting edges of minimized graph
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Building Node Array
[info] Serializing compacted graph of 9196634 edges
[info] Preprocessing : 134.197 seconds
[info] Expansion : 90165.2 nodes/sec and 136063 edges/sec
[info] Contraction: 104654 nodes/sec and 207754 edges/sec
[info] finished preprocessing
More information about the OSRM-talk
mailing list