[OSRM-talk] osrm-routed problem

Светозар Маринов svetulcho at bgservers.net
Mon Oct 7 19:41:45 UTC 2013


Hello All :),
I have some problem with osrm-routed. I tried several times to recompile osrm project - last time with debug on. After successful compilation I run osrm-extract, without any errors, after it osrm-prepare again without any errors and when I run osrm-routed it's OK again. But when i send curl request there is missing longitudes in the answer. Can anyone point me what could be wrong and how to proceed. Here some output from above commnads:


root at osrm:/srv/Project-OSRM# ./build/osrm-extract Data/north-america-latest.osm.bz2
[info] Using script profile.lua
[info] extracting data from input file Data/north-america-latest.osm.bz2
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-MSG] 1 disks are allocated, total space: 60000 MiB
[info] Using turn restrictions
[info] Found 3 exceptions to turn restriction
[info]    motorcar
[info]    motor_vehicle
[info]    vehicle
[warn] Parsing plain .osm/.osm.bz2 is deprecated. Switch to .pbf
[info] Parsing in progress..
[info] Parsing finished after 23929.1 seconds
[extractor] Sorting used nodes        ... ok, after 79.83s
[extractor] Erasing duplicate nodes   ... ok, after 74.58s
[extractor] Sorting all nodes         ... ok, after 242.75s
[extractor] Sorting used ways         ... ok, after 5.72s
[extractor] Sorting restrctns. by from... ok, after 5.74s
[extractor] Fixing restriction starts ... ok, after 9.99s
[extractor] Sorting restrctns. by to  ... ok, after 0.03s
[extractor] Fixing restriction ends   ... ok, after 4.36s
[info] usable restrictions: 20051
[extractor] Confirming/Writing used nodes     ... ok, after 321.05s
[extractor] setting number of nodes   ... ok
[extractor] Sorting edges by start    ... ok, after 313.97s
[extractor] Setting start coords      ... ok, after 446.2s
[extractor] Sorting edges by target   ... ok, after 349.7s
[extractor] Setting target coords     ... ok, after 830.08s
[extractor] setting number of edges   ... ok
[extractor] writing street name index ... ok, after 0.74s
[info] Processed 164165122 nodes and 171439062 edges
[info] extraction finished after 26603s
[info]
Run:
./osrm-prepare Data/north-america-latest.osrm Data/north-america-latest.osrm.restrictions

root at osrm:/srv/Project-OSRM# ./osrm-prepare Data/north-america-latest.osrm Data/north-america-latest.osrm.restrictions
bash: ./osrm-prepare: No such file or directory
root at osrm:/srv/Project-OSRM# ./build/osrm-prepare Data/north-america-latest.osrm Data/north-america-latest.osrm.restrictions
[info] Using restrictions from file: Data/north-america-latest.osrm.restrictions
[info] Parsing speedprofile from profile.lua
[info] Importing n = 164165122 nodes
[info]  and 171439062 edges
[info] Graph loaded ok and has 171375833 edges
[info] 20051 restrictions, 5847 bollard nodes, 160221 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: 156808 many components
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 334116998 edge based nodes
[info] Node-based graph contains 334116998 edges
[info] Edge-expanded graph ...
[info]   contains 397557371 edges
[info]   skips 22053 turns, defined by 20003 restrictions
[info] writing node map ...
[info] building r-tree ...
[info] constructing r-tree of 334116998 elements
[info] finished r-tree construction in 995.24 seconds
[info] using hardware based CRC32 computation
[info] CRC32: 4049895756
[info] initializing contractor
[warn] Edge weight large -> 894172
[warn] Edge weight large -> 894172
[warn] Edge weight large -> 886345
[warn] Edge weight large -> 1921713
[warn] Edge weight large -> 886345
[warn] Edge weight large -> 1921713
[warn] Edge weight large -> 1202111
[warn] Edge weight large -> 1202111
[warn] Edge weight large -> 1614903
[warn] Edge weight large -> 1614903
merged 41520 edges out of 795114742
contractor finished initalization
Contractor is using 8 threads
initializing elimination PQ ...ok
preprocessing 334116998 nodes .... 10% . 20% . 30% . 40% . 50% . 60% . [flush 218777039 nodes]  70% . 80% . 90% . 100%
[info] Contraction took 653036 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 925996837 edges
[info] Preprocessing : 665835 seconds
[info] Expansion  : 35300.5 nodes/sec and 71845.4 edges/sec
[info] Contraction: 511.636 nodes/sec and 1417.99 edges/sec
[info] finished preprocessing

root at osrm:/srv/Project-OSRM# ./build/osrm-routed
[warn] Process ./build/osrm-routedcould not be locked to RAM
[info] starting up engines, compiled at Sep 19 2013, 08:24:24
[info] loading graph data
[info] Data checksum is 4049895756
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
 100% [info] Loading Timestamp
[info] Loading auxiliary information
[debug] Loading node data
[debug] Loading edge data
[debug] Loaded 397557371 orig edges
[debug] Opening NN indices
[info] Loading names index
[info] All query data structures loaded
[info] loaded plugin: hello
[info] loaded plugin: locate
[info] loaded plugin: nearest
[info] loaded plugin: timestamp
[info] loaded plugin: viaroute
[info] http 1.1 compression handled by zlib version 1.2.3.4
[server] running and waiting for requests
[info] 07-10-2013 09:46:50 127.0.0.1 - curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 /viaroute?&loc=33.9883,-118.386944&loc=34.02729166666666,-118.3945138888889&output=json&geomformat=cmp
^C[server] initiating shutdown
[server] stopping threads
[server] freeing objects
[server] shutdown completed

 curl "http://localhost:5000/viaroute?&loc=33.9883,-118.386944&loc=34.02729166666666,-118.3945138888889&output=json&geomformat=cmp"
{"version": 0.3,"status":0,"status_message": "Found route between points","route_geometry": "_lny_Atfwx`FoMPeVTh at zuAHzRpClu@zUrSvKzOfIxXvI|i at dItf@xDtWhD`VpBjSbB|S_ at toAoBz]aMfmBcFlh at yEbWsGbUaQpb@eVd_ at uT|Wwe at jc@qkClbCoJxGckB`vAuHxFqNnKgh at d`@kiFtsDgcBlbAgJpFgg at dZqYdS{mBntAaOyL{`@kXqWqQ}GmBqmAucAq{@qo at uxAifAym@gd at cYkUe]{RkX}LiLcH}GmE_kAu|@uu at mj@cZ_UyHqGwHeI_KoM{BaDoX_[_HiGwj at ub@ui at kb@wj at cb@qj at ob@yj at cb@aa at uYyYsPio@me at go@_f at sj@yb at q~@gq at wc@c\\{O_NgEcD}QoN_u at oh@eEwC_^}V_QyMmBeBatAi{@}D{AaCWwB at uBZuHrDkDnFb\\tq at sV~QjNhZob@`Z","route_instructions": [],"route_summary":{"total_distance":6664,"total_time":408,"start_point":"Bristol Parkway","end_point":""},"alternative_geometries": ["_lny_Atfwx`FoMPeVTh at zuAHzRpClu@zUrSvKzOfIxXvI|i at dItf@xDtWhD`VpBjSbB|S_ at toAoBz]aMfmBcFlh at yEbWsGbUaQpb@eVd_ at uT|Wwe at jc@qkClbCoJxGckB`vAuHxFqNnKgh at d`@kiFtsDuyA~lAaH~EuaAxs at _TpOmpAz}@_[zSk~Cf~BaR|NkeBhnAyP|LeHhFqlBbeAiKzDoISoHuCmGqHmFsLmKgP}sAhbAgWdQoo at ytA{b at c}@_b at c{@cb at u|@ya at c}@i`@sy at gWwj@wTse at _Xyk@iLyVgOo[ce at ucAuc@__AaJqRkXkk at ib@g}@kYan at oTwd@iXco at gu@i|A_[yo at yXal@i`@e|@ua@}x at y^gw at oP{\\oOqZ_GzDiXhSa^av at _P_]ob@`Z"],"alternative_instructions":[[]],"alternative_summaries":[{"total_distance":7285,"total_time":441,"start_point":"Bristol Parkway","end_point":""}],"route_name":["",""],"alternative_names":[["",""]],"via_points":[[33.988304, ],[34.027288, ]],"hint_data": {"checksum":-245071540, "locations": ["yVYwB0bQBgAWAAAAJQAAAC6K7YvdZtg_0J4GAoWP8fg", "AcrtEQAAAACzAAAATQEAAHGh6vq3WtY_GDcHAm1x8fg"]},"transactionId": "OSRM Routing Engine JSON Descriptor (v0.3)"}root at osrm:/srv/Project-OSRM#



Thank you in advance 




More information about the OSRM-talk mailing list