Skip to content
tipichris edited this page Sep 14, 2010 · 5 revisions

FindMyNearest is a PHP class for working with UK postcodes, and
in particular for calculating the distance between two postcodes.
FindMyNearest supports several alternative data sources through
drivers. Currently data can be got from a delimited text file, a
mysql database or through the web API at www.uk-postcodes.com

FindMyNearest is generally not too fussy about the formatting of
postcodes. It accepts any case, spaces between parts or not and
partial postcodes. It even corrects the letter O at the beginning
of an inward part, changing it to the nubmer 0.

If the backend datasource contains location data for
partial postcodes these are used if an exact match can’t be found.

Clone this wiki locally