Telephone Number to Geolocation UK

Posted by David Toy on Stack Overflow See other posts from Stack Overflow or by David Toy
Published on 2010-05-05T13:27:16Z Indexed on 2010/05/05 13:38 UTC
Read the original article Hit count: 400

Filed under:
|
|
|
|

Is there a service that provides latitude and longitude for UK phone numbers?

For example:
Query: 0141 574 xxx, Returns: (55.8659829, -4.2602205) [Glasgow City Centre]

Allow me to stress that I am not looking for a reverse-directory-enquires. I am more interested in 'local area' for things like weather by phone or "Where's my nearest Pizza Shop?"

If this service doesn't exist your suggestions on how to implement it or where to get data from would also be incredibly useful.

I am aware that Ofcom provides a list of area codes with a place name [1] suitable for geolocation, but I have my concerns about resolution. I see this as a particular problem in smaller towns and rural areas where an area code will cover a large geographical area.

Second Example:
Area Code: 01555, Ofcom: Lanark
However:
01555 860xxx is Crossford (4 miles W of Lanark)
01555 77xxxx is Carluke (5 miles NW)
01555 89xxxx is Lesmahagow (5 miles SW)
01555 840xxx is Carnwath (7 miles NE)

Therefore 01555 covers about ~80 sq miles. That's not particularly local.

[1] Ofcom Area Code Tool: http://www.ofcom.org.uk/consumer/2009/09/telephone-area-codes-tool/

© Stack Overflow or respective owner

Related posts about geolocation

Related posts about telephony