I tried both the Routing API post and the matching API to retrieve as much details about the surface type of a track as possible. I get this strange behaviour: the API says he couldn’t find the point but when I check it on the OSM site I notice it is clearly a road, so why says the API ‘Cannot find point’?
{
"message": "Cannot find point 229: 51.27107,3.45173",
"details": "com.graphhopper.util.exceptions.PointNotFoundException",
"point_index": 229
},
{
"message": "Cannot find point 230: 51.2707,3.45189",
"details": "com.graphhopper.util.exceptions.PointNotFoundException",
"point_index": 230
},
{
"message": "Cannot find point 231: 51.27062,3.45192",
"details": "com.graphhopper.util.exceptions.PointNotFoundException",
"point_index": 231
},
I used the ‘hike’ profile.