Missing map matching `details`

Hi,
We are running the GH map matcher docker from the IsraelHikingMap repo.
In the map-match documentation there is a list of details that can be retrieved from api service,
We were able to get the following details

details = ["street_name","street_ref","street_destination","leg_time","leg_distance",
        "roundabout","time","distance","max_speed","road_class","road_class_link",
        "road_access","road_environment",]

but NOT these (although they exists in the documentation).

"country", "max_weight", "max_width", "toll", "hazmat", "hazmat_tunnel", "hazmat_water", "lanes", "surface", "smoothness", "hike_rating", "mtb_rating", "foot_network", "bike_network"

When ever trying to get one of these details we get an error
e.g.

 /match?type=json&profile=car&details=country&gps_accuracy=50] INFO  c.g.h.IllegalArgumentExceptionMapper - bad request: Cannot find the path details: [country]
java.lang.IllegalArgumentException: Cannot find the path details: [country]

Any advice would be appreciated

Found the solution -
Needed to update the config.yml file in the section of Encoded Values

graph.encoded_values

For explanations about the various values see osm map features

1 Like