As part of a project i am developing a taxi booking system. A part of it i am struggling to even think of what to do for is knowing distances between two real addresses e.g. Birmingham and Manchester for reasons such as calculating prices. Obviously it would be impractible to even think of storing all distances in my database between every combination of two locations.
Is there a known method of doing this sort of procedure?
Could google maps or something similar be incorporated to calculate distances? If so, how?
Any help would be much appreciated as i have no clue in this area whatsoever.