Max_region_search value exact meaning?

Hi all,

I’m using java offline routing engine & what I actually need is this: while building a route, if nearest valid road is not within a given radius (my own custom value in meters) from a start point, generate an error which I further handle via res.hasErrors.

GraphHopper class ( has a hardcoded private int maxRegionSearch = 4; for it with no setter – assume I perform some tweaks to bypass this (however would be grateful if you advice me the nicest way to do it), but my main question is:

what exactly does this “4”, or “8”, or whatever means in meters?? and how precise is it?

Thanks in advance!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.