[GraphHopper] Inspect graph properties

Emux devemux86 at gmail.com
Sun Nov 9 09:52:09 UTC 2014


Hi Peter,

Is there a way via the API to inspect a graph's properties prior loading it?

GraphHopper class has to be initialized properly with setCHEnable, 
setElevation (and now with the turn restrictions too) prior calling load 
method.
Too many combinations, or else the load will fail.

Right now I catch these exceptions in order to cover all the cases, but 
is there a more elegant solution?

-- 
Emux
Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas 
<http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141109/89ee8270/attachment.html>


More information about the GraphHopper mailing list