[BonnMotion] Problems by running the Randomstreet map-based model

Qiuheng Zhou qiuheng.zhou at dfki.de
Wed Aug 12 15:55:08 CEST 2020


Hi all,

i have followed the instructions of BonnMotion documentation and 
succefully installed the bonnmotion-3.0.1 and osrm-backend-4.8.1

After the command ./start_routed.sh maps/bremen-latest.osrm 5000 12, the 
server started  with the output in Terminal like below:

[warn] ./osrm-routed could not be locked to RAM
[info] starting up engines, HEAD-HASH-NOTFOUND
[info] populating base path: maps/bremen-latest.osrm
[info] HSGR file:    "maps/bremen-latest.osrm.hsgr"
[info] loading graph data
[info] loading graph from maps/bremen-latest.osrm.hsgr
[info] number_of_nodes: 195479, number_of_edges: 1326077
[info] loaded 195479 nodes and 1326077 edges
[info] Data checksum is 383471236
[info] loading edge information
[info] loading core information
[info] loading geometries
[info] loading r-tree
[info] loading timestamp
[info] Loading Timestamp
[info] loading street names
[info] loaded plugin: table
[info] loaded plugin: hello
[info] loaded plugin: locate
[info] loaded plugin: nearest
[info] loaded plugin: match
[info] loaded plugin: timestamp
[info] loaded plugin: viaroute
[info] loaded plugin: trip
[info] http 1.1 compression handled by zlib version 1.2.8
[info] running and waiting for requests

Then i have opened a new Terminal to start the bonnmotion, in the path 
of /bonnmotion-3.0.1/bin, i have given the command line :

./bm -f scenario RandomStreet -n 1000 -d 3600 -s 0.9 1.5 -p 30 -B 8.7964 
53.0768 8.8419 53.0878 -R 1234  -o 
../../osrm-backend-4.8.1/build/maps/bremen-latest.osm.pbf -u 0.0.0.0:5000

i get some output on the terminal and it stopped by conncecting the url. 
Some of the output can be seen below:


......

......

......

Component 1310 consists of 3 ways
Component 1311 consists of 1 ways
     527688407
Component 1312 consists of 1 ways
     527688406
Component 1313 consists of 1 ways
     527688409
Component 1314 consists of 1 ways
     99351461
Component 1315 consists of 1 ways
     108394711
Choosing component 0 with 40765 ways. Removing 8758 ways in 1315 small 
components...
done
Removing isolated nodes...
done
Total road network length: 105210.8466513905
done
0.0.0.0:5000/viaroute?loc=53.08626501694908,8.797314749215731&loc=53.083473212433184,8.809829978368025&z=18
java.net.MalformedURLException: no protocol: 
0.0.0.0:5000/viaroute?loc=53.08626501694908,8.797314749215731&loc=53.083473212433184,8.809829978368025&z=18
java.net.MalformedURLException: no protocol: 
0.0.0.0:5000/viaroute?loc=53.08626501694908,8.797314749215731&loc=53.083473212433184,8.809829978368025&z=18
     at java.net.URL.<init>(URL.java:611)
     at java.net.URL.<init>(URL.java:508)
     at java.net.URL.<init>(URL.java:457)
     at 
edu.bonn.cs.iv.util.maps.OSRoutingMachine.getOptimalRoute(OSRoutingMachine.java:113)
     at 
edu.bonn.cs.iv.bonnmotion.models.RandomStreet.generate(RandomStreet.java:103)
     at 
edu.bonn.cs.iv.bonnmotion.models.RandomStreet.go(RandomStreet.java:72)
     at 
edu.bonn.cs.iv.bonnmotion.models.RandomStreet.<init>(RandomStreet.java:66)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     at edu.bonn.cs.iv.bonnmotion.run.BM.go(BM.java:267)
     at edu.bonn.cs.iv.bonnmotion.run.BM.main(BM.java:296)

Here the url might be false, but i am not sure where am i wrong, can 
anyone do me a favor? Any suggestion will be appreciated.

Best regards.

Qiuheng Zhou

-- 
Qiuheng Zhou
Researcher
Intelligente Netze / Intelligent Networks

Telefon / Phone: +49 631 205757099

E-Mail: Qiuheng.Zhou at dfki.de
WWW: http://www.dfki.de/in

Projekte / Projects:
www.tacnet40.com
https://www.forschung-it-sicherheit-kommunikationssysteme.de/projekte/kick

-------------------------------------------------------------
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
Trippstadter Strasse 122, 67663 Kaiserslautern, Germany
  
Geschäftsführung:
Prof. Dr. Antonio Krüger
  
Vorsitzender des Aufsichtsrats:
Dr. Gabriël Clemens
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------



More information about the BonnMotion mailing list