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 (https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/GraphHopper.java) 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!