[GraphHopper] Weighting for bicycle routing

Peter graphhopper at gmx.de
Wed Aug 26 14:51:14 UTC 2015


Hi Armin,

would you mind to try if jvm 1.7 works if you add the following command
line parameter?

-XX:CompileCommand=exclude,com.graphhopper.coll.GHLongIntBTree::put

e.g. append to the existing -Xmx2g setting like:
JAVA_OPTS="-Xmx2g
-XX:CompileCommand=exclude,com.graphhopper.coll.GHLongIntBTree::put"

See the potential related issue why this would be important to clarify:
https://github.com/graphhopper/graphhopper/issues/187

Regards,
Peter

On 25.08.2015 20:06, XCTrails wrote:
> Hi Peter,
>
>     that is possible and you would need to decrease the weight of a
>     certain edge if this edge is part of a bike route relation. For
>     that you'll need to tell the flag encoder to store this info e.g.
>     in the flags and fetch it in a custom Weighting. See eg. how to
>     create a custom weighting
>     <https://github.com/graphhopper/graphhopper/blob/master/docs/core/weighting.md>
>     and e.g. encoder.setSpeed on how to store information in the flags.
>
>
> ok, that's what I suspected... Seems like a bit more effort and
> something for the Christmas break ;-)
>
> cheers,
> Armin
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150826/0f6384b3/attachment.html>


More information about the GraphHopper mailing list