<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>In my project, I created a GraphHopper object with following initialization:<br> hopper = new GraphHopper();<br> hopper.setCHEnable(false);<br> hopper.setMemoryMapped();<br> hopper.setOSMFile(PBF_FILE);<br> hopper.setGraphHopperLocation(GRAPH_FOLDER);<br> encoder = new CarFlagEncoder();<br> hopper.setEncodingManager( new EncodingManager( encoder ) );<br> hopper.setPreciseIndexResolution(20);<br> hopper.importOrLoad();<br><br></div>I then used Map Matching component to find and update speed of a number of edges. I could confirm that this update was successful as the routing results before & after updating speed were different.<br><br></div>However, when I tried to persist the updated edges by calling hopper.getGraph().flush(), the new speed was not stored to disc.<br><br></div>MMap was used as DataAccessType so I suppose flush is enabled.<br><br></div>Am I missing anything here?<br><div><div><div><br clear="all"><div><div><div><div><div><div class="gmail_signature"><div dir="ltr">Kind Regards,<br>Tuan.</div></div></div>
</div></div></div></div></div></div></div></div>