[GraphHopper] snapshot dependency problem

Alexandre Vallette alexandre.vallette at snips.net
Fri Jul 19 12:18:21 UTC 2013


hello,

I'm running the same code with the same dependencies:
"com.graphhopper" % "graphhopper" % "0.1-SNAPSHOT",

on two different machines and on one I need to specify the enconding
manager:
   val ram = new RAMDirectory("graphhopper.map", true)
    val encodingmanager = new EncodingManager("CAR")
    val carEncoder = encodingmanager.getEncoder("CAR")
    val graph = new LevelGraphStorage(ram, encodingmanager)

while on the other he doesn't know what an encoding manager is and

    val graph = new LevelGraphStorage(new RAMDirectory("graphhopper.map",
true))

is enought.

Am i using two different versions of graphhoper ? If so were does this
difference comes from? or is there a local parameter that is defined
differently?
-- 
-- 
Dr Alexandre Vallette, PhD
SNIPS
co-founder

+ 33 (0) 6 71358943
alexandre.vallette at snips.net
skype: vallettea
linkedIn: fr.linkedin.com/in/vallettea/
twitter: @vallettea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130719/90ff3448/attachment.html>


More information about the GraphHopper mailing list