On 04/01/2011 14:04, Mark Goodge wrote:
What I'm looking for is something that, for example, will return
Staffordshire rather than Stoke-on-Trent, and Somerset rather than
North Somerset.

As you say, it's just a manual lookup. http://whatcountyamiin.co.uk/ is what I wrote for a friend; source code is at https://github.com/dracos/whatcountyamiin.com with https://github.com/dracos/whatcountyamiin.com/blob/master/unitary_to_county.js doing the main council -> county lookup (for those non-London, non-NI, no county council).

If someone wanted to alter mapit - source code at http://github.com/mysociety/mapit - to automatically add a county to all results using a fixed lookup along those lines, then that would be great.

ATB,
Matthew

_______________________________________________
Mailing list [email protected]
Archive, settings, or unsubscribe:
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public

Reply via email to