Proposed automated edit of phone numbers in Norway

I have created a website to validate and fix phone numbers in OSM data and Norway was recently added by @HrCalmar

It has found 1173 numbers which are invalid in some way, mostly due to the country code not being included.

These can be viewed and easily fixed on the website.

I have an ongoing bot edit running in a number of other countries to automatically fix the simple cases. I would like to propose enabling that in Norway.

As of today, out of the 1173 invalid elements, 1016 have fixes suggested on the website and of those 925 would be made by the bot. The ones not made are things like where a duplicate number is found, there are multiple phone numbers in a tag or there is text in the tag.

You can see a full list of the edits that would have been made by the bot if it had run today here:

Take a look at the site and the edits being suggested and let me know what you think.

2 Likes

Noted something:


This number actually is valid: Legevakten - Tønsberg kommune

Norway has a series of “special numbers”, like 112, 113, emergency numbers, and i guess this one is also some type of special number. The website mentions

  • Are you calling from abroad or using a cellphone with a foreign subscription? Please call +47 33 37 25 90.

this one is a typo - 41 instead of 47

Anna Sushi & bubble tea, phone +4133124400

I would say… all good catches, solid tool. The vast majority of the suggested fixes seem to be good.

1 Like

Here is the whole number schema

I think I should adjust the help text on the website to mention such short numbers. I understand that e.g. 112 is a valid phone number, however, it is unlikely that it is correct to map it on any object in OSM in a phone tag (except perhaps emergency:phone which this tool does not consider).

From my reading, it seems that the same is true for 116117, which appears to be a national non-emergency number, and therefore is not specific to any POI. If I am incorrect in this understanding then I can add an exception so that it is considered valid, perhaps only when combined with some tagging (healthcare=hospital?).

Thank you for your feedback, which ones are not good? Just to ensure that they would not be included in the bot edit.

I think the patterns shown on the page would cover what you need to track. For example here: OSM Telefonnummervalideringsrapport – Buskerud 177 is timetable timetableinfo numbers - same as 112 but for timetable help :slight_smile:

I havnt looked through all the regions, but I suspect that the problematic lists are in the “invalid numbers” section, rather than in the correction lists.

You might also find numbers to taxi companies

Oslo Taxi
02323

For some reason they can have five numbers starting with zero, but if you call from abroad, you have to dial: +47 22 38 80 90 . Its the same with the 177 numbers. If you are in Bergen and call 177 you come to the local transport authority customer centre, but if you want to call them from somewhere else in Norway you have to dial 55 55 90 70 - else you’ll end up at the customer service for the region you are in. And of course +47 55 55 90 70 from abroad.

They are alias numbers.

You get 175 here OSM Telefonnummervalideringsrapport – Oslo, which is for this Veitrafikksentralene | Statens vegvesen. Here we also see that the police has two numbers, one for non-emergencies: 02800 and 112.

At least its not complicated. Like Sweden ;)

1 Like

Thank you for the detailed feedback. In that case, I will enable the bot soon in Norway.

It looks like an exception should be added for the taxi companies. However 177, 177 etc. look like they shouldn’t really be tagged on OSM objects.

no but if they are, they would be valid :slight_smile:

1 Like

Just restrict the edit to 8 digit numbers. Shorter numbers would in general not work when combined with the national prefix.

1 Like

To confirm, the bot has commenced, leaving 213 invalid numbers at the moment.

Everything you see on the website will not be fixed by the bot, so take a look and see what can be sorted out manually.

1 Like