this post was submitted on 05 Oct 2026
5 points (85.7% liked)

Asklemmy

55897 readers
278 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 7 years ago
MODERATORS
 

Crossposted from https://lemmy.blahaj.zone/post/48779421

I'm writing a program that can find info about a phone number. One problem appears to be that Google's phone number library doesn't provide enough info. For instance, take this number: +1 (613) 745-1576. My iPhone correctly says "Ottawa, Ontario, Canada", while Google's library doesn't return the city? How does my iPhone pick this up but not Google's own library? Is this provided by cell carriers? Is it something with the 745 block? If so, where can I find this info?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Shimitar@downonthestreet.eu 1 points 2 weeks ago

Yeah, today after moving to fully digital landlines as well there is no need to keep numbers tied up to geographical locations.

Still depend on your country rules tough. In mine, landlines all start with a 0 (zero) followed by a geographical prefix, so that will be unchanged (but can be spoofed). Mobiles start with a 3 instead, and those have no geographical location at all. And so on.