Does GraphHopper use Haversine to calculate distances?

Dear all,

Does GraphHopper use Haversine to calculate the returned distances by default ? If it’s euclidean, is there any way to change this behavior via means of the file ?

Thanks in advance!

Yes it uses this - do you experience problems with this? There is no way to change this other than directly in the code.

Also if you enable elevation it will use elevation & haversine to get a more precise distance

No we don’t experience any problems, just wanted to confirm because some of the distances don’t agree with the corresponding ones from pgrouting, but it could be because our weighs our off in the latter .

Thanks for the reply!

Okay, just let us know in case you find strange values etc