Business telephone number format mask #10159

Open
opened 2025-01-29 12:52:22 +00:00 by LloydJackmanUKPL · 3 comments
LloydJackmanUKPL commented 2025-01-29 12:52:22 +00:00 (Migrated from github.com)

⚠ Have you searched for similar, already existing issues?

Yes, and I couldn't find one.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. For example:
I'm always frustrated when [...]

I contributed some local business details to OSM from OM recently but received comments from another mapper that the format of telephone numbers I had provided wasn't in line with OSM standards.

Use +CC XXX XXX XXX format, where CC is a country code.

Source: https://wiki.openstreetmap.org/wiki/Key:phone

Describe the ideal solution
A clear and concise description of what you want to see in Organic Maps.

OM could provide string validation so as to ensure that not only are phone numbers of the right length, but also of the right and standardised format.

Describe alternatives you have considered

  • How do you solve this issue now with Organic Maps or other apps?
  • Attach any examples, screenshots, or screen recordings from other apps that help us to better understand the idea.

This would otherwise require users to adhere to this format. In my case, I was unaware of the standard format, so perhaps a guidance text when entering a phone number would be helpful.

Additional context
Add any other context or screenshots about the feature request here.

⚠ Have you searched for similar, already existing issues? Yes, and I couldn't find one. **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. For example: I'm always frustrated when [...] I contributed some local business details to OSM from OM recently but received comments from another mapper that the format of telephone numbers I had provided wasn't in line with OSM standards. > Use +CC XXX XXX XXX format, where CC is a country code. Source: https://wiki.openstreetmap.org/wiki/Key:phone **Describe the ideal solution** A clear and concise description of what you want to see in Organic Maps. OM could provide string validation so as to ensure that not only are phone numbers of the right length, but also of the right and standardised format. **Describe alternatives you have considered** - How do you solve this issue now with Organic Maps or other apps? - Attach any examples, screenshots, or screen recordings from other apps that help us to better understand the idea. This would otherwise require users to adhere to this format. In my case, I was unaware of the standard format, so perhaps a guidance text when entering a phone number would be helpful. **Additional context** Add any other context or screenshots about the feature request here.
Contributor

Im not sure about forcing users to add a country code. These codes are often left out on signs, so tourists who don't know the number might not be able to add the phone number at all then. (A phone number without country code is better than no phone number)

A guidance text is a good idea.

Im not sure about forcing users to add a country code. These codes are often left out on signs, so tourists who don't know the number might not be able to add the phone number at all then. (A phone number without country code is better than no phone number) A guidance text is a good idea.
LloydJackmanUKPL commented 2025-01-31 20:46:39 +00:00 (Migrated from github.com)

Surely the default country code can be derived from the location of the business in question? Ie. A shop in Poland would prepopulate the country code +48, whereas a shop in the UK would prepopulate with +44. This could be made easier by using one of those drop down lists for the country code allowing you to search by country.

Surely the default country code can be derived from the location of the business in question? Ie. A shop in Poland would prepopulate the country code +48, whereas a shop in the UK would prepopulate with +44. This could be made easier by using one of those drop down lists for the country code allowing you to search by country.
muralito commented 2025-02-04 12:55:16 +00:00 (Migrated from github.com)

These codes are often left out on signs, so tourists who don't know the number might not be able to add the phone number at all then.

Probably also they cannot establish the call without the country code (not sure how the network operators handle that when roaming)

> These codes are often left out on signs, so tourists who don't know the number might not be able to add the phone number at all then. Probably also they cannot establish the call without the country code (not sure how the network operators handle that when roaming)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps#10159
No description provided.