4 ms·
Phone numbers have geographic structure. For mobile phones it's just the area code, but for landlines there is also information in the exchange portion. For exa
by jefftk 4y ago
Phone numbers have geographic structure. For mobile phones it's just the area code, but for landlines there is also information in the exchange portion. For example, I grew up in Medford MA which is 781-39x-xxxx.
I expect there are also patterns in other countries?
- troutpanda 4y agoYeah, but you can probably use https://github.com/google/libphonenumber https://github.com/google/libphonenumber for that.
- pixl97 4y agoNetwork portability. While there can be a small amount of correlation to the entire zipcode, that quickly breaks down in portal number blocks and they can end up anywhere in the US. Also, with VOIP it could reference where a number doesn't have long distance fees, but has nothing to do with where it is.
- PeterisP 4y ago> I expect there are also patterns in other countries? No, I believe this concept of mobile phone numbers being tied to localities is specific just to a few countries - USA, Canada and I think South Africa - due to how local calls were billed there; and for all other countries the mobile numbers were allocated from a single country-wide pool so their mobile phone numbers have no geographic structure other than the country code.
- 9034725985 4y agoWhat if there were a service where anyone can opt in to share their own location information? If there was a way to get across the hurdle of how does the service provider know if the person is indeed who they claim to be… My thought is something like a phone number, email address, or domain name bypasses this problem. It is fairly trivial to verify you have access to a phone number, email address, domain name. Feels like this is one of those chicken and egg problems though. Why would anyone list their location at my service if nobody queries it and why would anyone query my service if nobody lists their information with me?
- fami-com 4y agoNot in any European country that I know of. For example, the UK's geographical codes start with 01 and 02 (020 is London, 0238 is Southampton, 02820 is Ballycastle) and are never assigned to mobile phone numbers, which always start with 07. Other countries work in much the same way, except the prefixes are, of course, different.
- squeaky-clean 4y agoThis is what the inaccurate youtube tutorials do that they complain about in the linked blog post. It only gets you country level lookups for most phone numbers, county level at the very best. And it turns out users don't want that. There's also the issue of moving. I have a Florida phone number. I haven't lived in Florida in a long time.