Modify

Opened 5 weeks ago

Closed 3 weeks ago

#17486 closed enhancement (fixed)

warn about addr:housenumber without number [patch]

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone: 19.04
Component: Core validator Version:
Keywords: Cc: ovruni

Description

Finds e.g. addr:housenumber=? or accidently use of addr:housenumber when addr:housename was meant or other typos.

Not sure about use cases outside of the arabic numeral system, however I did not found any at the first 200 pages at taginfo

Also not sure about S/N and s/n. It's an abbreviation for Sem Número or sin número (i.e. without number). However should that really be tagged this way in osm in spanish/portugues speaking countries?

with bbox: https://overpass-turbo.eu/s/H8h
global: https://overpass-turbo.eu/s/H8g (doesn't work for me, overpass out of memory at 2GB)
global relation count: https://overpass-turbo.eu/s/H8j current: 248
global way count: https://overpass-turbo.eu/s/H8m current: 19242
global node count: https://overpass-turbo.eu/s/H8n current: ? (overpass gives no result, maybe too much objects)

*[addr:housenumber][addr:housenumber!~/[0-9]/] {
  throwWarning: tr("{0} without number", "{0.key}");
  assertNoMatch: "way addr:housenumber=0";
  assertNoMatch: "way addr:housenumber=5a";
  assertNoMatch: "way addr:housenumber=5/1";
  assertMatch: "way addr:housenumber=?";
  assertMatch: "way addr:housenumber=unknown";
  assertMatch: "way addr:housenumber=Palace of Westminster";
  assertMatch: "way addr:housenumber=S/N";
}

Attachments (0)

Change History (3)

comment:1 Changed 5 weeks ago by ovruni

"S/N" and "s/n" (abbreviation of "without number") are often used by some government entities to indicate that they do not have a number. Possibly these values were entered into imports. In my opinion we should not have this value in OpenStreetMap.

There are also "S/N" and "s/n" (abbreviation of "without name") for street names, I have removed some of these values in Peru.

comment:2 Changed 5 weeks ago by mkoniecz

Also not sure about ​S/N and ​s/n. It's an abbreviation for Sem Número or sin número (i.e. without number). However should that really be tagged this way in osm in spanish/portugues speaking countries?

No. If someone feels that it should be tagged they should use something like name and noname.

comment:3 Changed 3 weeks ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 14956/josm:

fix #17486 - warn about addr:housenumber without number

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.