Map matched route, wanting to decrease the number of points returned

Hi All,

New to Graphhopper and testing for a possible app related solution we’re building.

Struggling to find an answer to this so figured I’d post.

We’ve got a GPX file that we’re piping into graphhopper that’s returning around 11k+ points.

Is there any way to decrease the number of points it output a more manageable load?

Something like distance between points is greater than the points provided assuming routing follows the same pathing.

Thanks for any help!

Yes, this is done by what is called the ‘path simplification’, which is controlled by the way_point_max_distance parameter. Basically it controls to what extent points lying (more or less) on straight lines will be removed from the response.