<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi again!<br>
</p>
<p>I have been able to set up and run osrm-backend-5.11 with some
modifications to the instructions in the documentation.<br>
</p>
<ul>
<li>I have replaced cbf-routing-profiles for the newest ones in
<a class="moz-txt-link-freetext" href="https://github.com/sosm/cbf-routing-profiles/">https://github.com/sosm/cbf-routing-profiles/</a></li>
<li>I have changed the last line in prepare_pbf.sh to the
following: LUA_PATH="$profiledir/lib/?.lua" ./osrm-contract
${osmfile}.osrm</li>
</ul>
However, I have not been able to generate a map-base scenario
successfully. Both with RandomStreet and MSLAW I run into the
following error:
<blockquote>~/bonnmotion-3.0.1/bin$ ./bm -f Vigo-escenario MSLAW -n
5<br>
BonnMotion 3.0.1<br>
<br>
OS: Linux 4.10.0-33-generic<br>
Java: Oracle Corporation 1.8.0_131<br>
<br>
Starting MSLAW ...<br>
DEBUG: transformation (proj4): +proj=merc +lon_0=0 +k=1 +x_0=0
+y_0=0 +a=6378137 +b=6378137 +towgs84=0,0,0,0,0,0,0 +units=m
+no_defs <br>
java.lang.reflect.InvocationTargetException<br>
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)<br>
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)<br>
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<br>
at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)<br>
at edu.bonn.cs.iv.bonnmotion.run.BM.go(BM.java:267)<br>
at edu.bonn.cs.iv.bonnmotion.run.BM.main(BM.java:296)<br>
Caused by: java.lang.NullPointerException<br>
at
edu.bonn.cs.iv.bonnmotion.MapScenario.preGeneration(MapScenario.java:423)<br>
at
edu.bonn.cs.iv.bonnmotion.models.MSLAW.preGeneration(MSLAW.java:631)<br>
at
edu.bonn.cs.iv.bonnmotion.models.MSLAW.generate(MSLAW.java:101)<br>
at edu.bonn.cs.iv.bonnmotion.models.MSLAW.go(MSLAW.java:96)<br>
at
edu.bonn.cs.iv.bonnmotion.models.MSLAW.<init>(MSLAW.java:90)<br>
... 6 more<br>
<br>
Error:<br>
Error in MSLAW<br>
<br>
</blockquote>
Is there a path where osrm is required to be running so it can work
with Bonnmotion? Or is there any other requirement so they can work
together?<br>
Have I compromised Bonnmotion function due to my modifications to
the osrm setting up process?<br>
<br>
Best regards,<br>
Fátima<br>
<p><br>
</p>
</body>
</html>