[GraphHopper] graph weights combination

Peter graphhopper at gmx.de
Mon Mar 2 07:56:09 UTC 2015


There is no combine class, but the TurnWeighting does a similar thing
where you can look into

Peter

On 02.03.2015 01:33, Philipp Kraus wrote:
> Hi Peter,
>
> does Graphhopper support a built-in „combine class or function“ or should I write it myself?
>
> Phil
>
> Am 01.03.2015 um 21:33 schrieb Peter <graphhopper at gmx.de>:
>
>> Hi Philipp,
>>
>> yes, you can calculate the weighting how you like it and combine
>> arbitrary classes or functions. Or what specific problem did you encounter?
>>
>> Regards,
>> Peter
>>
>> On 01.03.2015 12:18, Philipp Kraus wrote:
>>> Hello,
>>>
>>> I have got a lot of different weights on Graphhopper 0.3. Can I set a „combination weight“, so that the Graphhopper routing engine uses more than one weight class?
>>> My idea at the moment is, that I write a „combination weight class“, which stores a list of different weight objects and Graphhopper uses this class to calculate the route
>>>
>>> Thanks
>>>
>>> Phil
>>




More information about the GraphHopper mailing list