I am having trouble figuring out how to pull AVERAGE_SPEED from path details with graphhopper-core (0.10.0) in Java, cannot find much explanation in the Java library itself.
My guess is that the request should have:
request.setPathDetails(List pathDetails)
But I am not sure what information should be provided in the pathDetails list here to get average speed.
path.getPathDetails()
As it returns Map<String, List>, I have to know the key String here and probably need to setup the PathDetail list properly in the request.
Hope if anyone has done it can give me some help here. Thanks!