Error when requesting leg_distance local graphhopper

Hello,

I’ve just installed graphhopper in my k8s cluster, and indexed a whole planet pbf file. But I noticed when I request leg_distance info I receive the following error:

{
    "message": "Cannot find the path details: [leg_distance]",
    "hints": [
        {
            "message": "Cannot find the path details: [leg_distance]",
            "details": "java.lang.IllegalArgumentException"
        }
    ]
}

The same error does not appear when I request graphhopper through https://graphhopper.com/api/1/route path.

I searched into doc how to solve this, but found no info about it. I’m using graphhopper version 7.0 in my infra.

Is there some config that I can enable this?

It will be in 8.0: Add path details for the time, distance and weight of the single legs by easbar · Pull Request #2768 · graphhopper/graphhopper · GitHub (which will be released soonish)

@karussell , Thanks for answering me! Is there an release date already defined?

Have a look :slight_smile: GraphHopper Routing Engine 8.0 released - #2

1 Like