[GraphHopper] activate weights
Peter K
peathal at yahoo.de
Mon May 19 13:54:54 UTC 2014
If you have CH disabled you can change the weighting per query. If you
have it enabled you cannot change the weight (at the moment). See/vote:
https://github.com/graphhopper/graphhopper/issues/111
Peter.
> I would like to use different weights on the graph, but on a loaded
> graph I can not change the weight object.
> How can I reinitialize the graph with another weight?
>
> Thanks
>
> Phil
>
>
> Am 19.05.2014 um 14:39 schrieb Peter K <peathal at yahoo.de
> <mailto:peathal at yahoo.de>>:
>
>> Either in the query via setWeighting or via hopper.setCHShortcuts if
>> you need it for CH preparation.
>>
>> Regards,
>> Peter.
>>
>>> Hello,
>>>
>>> I have defined my edge weights
>>> with https://github.com/graphhopper/graphhopper/blob/master/docs/core/weighting.md but
>>> how can I activate the weights ?
>>> I need to tell in the MyGraphHopper class, that this weighting
>>> "BLOCKING" schooled be use on start-up. How can I do this?
>>>
>>> Thx
>>>
>>> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140519/de661f08/attachment.html>
More information about the GraphHopper
mailing list