Let's suppose there are two places coordinates (street places).
I know that straight direction between them I can calculate by formula.
Also we know that route between those coordinates can be different, depends roads where human or car can drive through.
Is distance between two coordinates on the map(street view) always minimal distance comparing others paths? I think now, because straight the path can be uphill and from the mountain.
This is not consider by formula haversine
.
I need calculate distance between two coordinates, where courier is now and where he should go.
Could I avoid paid Google Service to calculate distance between two coordinates in my business application? Or it is unreal?
What do famous applictions use for that?
Could I say that distance would be shortest between two coordinates using this formula in short distance (less 1000km)?
This formula uses radians and returns central angle in radians.
Then final formual is:
Is it enough to calculate shortest distance between two coordinates (less 1000 km between)?