[Talk-GB] Postcode finder based on OSM data
Matt Williams
lists at milliams.com
Thu Mar 17 13:17:21 GMT 2011
On 17 March 2011 12:09, Derick Rethans <osm at derickrethans.nl> wrote:
> On Wed, 16 Mar 2011, Matt Williams wrote:
>
>> Greetings all,
>>
>> For the last week I've been working on a sort of 'replacement' for the
>> Royal Mail's postcode/address finder (you know, the one with the ~5
>> queries a day limit without an account) [1] but based entirely on data
>> in the OSM database. You can find my site at [2].
>
> Awesome; I tried my own code, which I've mapped, and it works. However,
> I don't quite understand the sorting algorithm :-) :
>
> http://milliams.dev.openstreetmap.org/postcodefinder/NW6%206TB/
It sorts first by the number and then by the letter. It wasn't really
prepared for spaces between the two. You'll also notice on some pages
that it doesn't sort by street name yet so the streets will be mixed
together.
--
Matt Williams
http://milliams.com
More information about the Talk-GB
mailing list