Add `addr:place` to addresses with no corresponding street name
Context
In Romania, there are some villages in which the houses are numbered sequentially throughout the entire locality, without taking into consideration street names. Some villages don't have any street names at all, whereas some might have but the numbering of the houses is not affected.
As such, the proposal is to identify addresses that currently have no Key:addr:street value set, and see if they match the pattern described above. If the addresses are part of a locality that does not take streets into consideration, then Key:addr:place shall be used instead in accordance with Addresses#Addresses without house numbers.
Process
The potential addresses that could use a Key:addr:place are identified via the following mechanism: for each locality (with a Key:place of "city", "town", "municipality", "village", "hamlet"), obtain all the addresses within that locality (villages that don't have a corresponding area mapped are disregarded). If the number of addresses with no street name is greater than 100, then the locality is added to the list.
Each locality has to be manually reviewed to confirm that Key:addr:place can indeed by added by checking the that the house numbers do indeed exhibit the pattern of not having a street assigned to it, according to the following criteria which are manually checked before doing the operation:
- There must be at least 101 addresses that have no assigned street to them.
- There should be no or few streets in the locality.
- The number never "resets" when it encounters a street, e.g. there is a clear sequence between street numbers.
- There should be no addresses in the area with a Key:addr:street value set.
- Visually inspect the Overpass query to make sure that the changed addresses do not span multiple localities.
The Overpass query is then imported into http://level0.osmz.ru/ and the Key:addr:place is added with the name of the locality as the value. One changeset per each locality changed.
Relevant queries
Find addresses with no street name or place set | Find address with a street name defined |
---|---|
[out:xml][timeout:25];
area(3611552322)->.searchArea;
(
node["addr:housenumber"~".*"]["addr:street"!~".*"]["addr:place"!~".*"](area.searchArea);
way["addr:housenumber"~".*"]["addr:street"!~".*"]["addr:place"!~".*"](area.searchArea);
relation["addr:housenumber"~".*"]["addr:street"!~".*"]["addr:place"!~".*"](area.searchArea);
);
out meta;
>;
out meta qt; |
[out:xml][timeout:25];
area(3611552322)->.searchArea;
(
node["addr:housenumber"~".*"]["addr:street"~".*"](area.searchArea);
way["addr:housenumber"~".*"]["addr:street"~".*"](area.searchArea);
relation["addr:housenumber"~".*"]["addr:street"~".*"](area.searchArea);
);
out meta;
>;
out meta qt; |
To obtain the query, simply replace the number between `area()` with one of the area IDs below:
Since the number of localities is not that high (23) and the changes are still manually reviewed by analyzing the Overpass query, they will be done using my personal account: https://www.openstreetmap.org/user/Elian%20D%E2%80%A4
Changes to do
At the time of writing, only 12 localities are potentially exhibiting this pattern, more specifically:
Area | Number of addresses | Status | Comments | Changes |
---|---|---|---|---|
Podu Turcului, Bacău (area 3614739042). | 167 | Done | Multiple towns/villages in the area. Some of them have a communal road (e.g. DC45) as the street. Some have street names but the numbering is not reset. To be treated with care. |
|
Roșia Montană, Alba (area 3611349475). | 275 | Done | Exhibits the pattern, large house numbers (e.g. 513).
Some `addr:place` already present in the area (e.g. https://www.openstreetmap.org/node/10146952269). |
|
Paleu, Bihor (area 3611318305). | 291 | Done | There are a few streets in the south where the numbering is reset. The main street does exhibit this pattern, though. |
|
Apa, Satu Mare (area 3614786148). | 379 | Done | Follows pattern, high numbers (e.g. 700, 1000). |
|
Olari, Arad (area 3614783940). | 381 | TO DO | Some addresses contain "Principala" (e.g. main street) as the street name, otherwise seems to follow pattern. | |
Zimandu Nou, Arad (area 3611552322). | 423 | TO DO | Seems to follow the pattern however there are 15 addresses with street name, the consecutive numbering sequence is maintained and the house numbers are not reset. | |
Dorobanți, Arad (area 3610718579). | 531 | TO DO | Some addresses contain "Principala" (e.g. main street) as the street name, otherwise seems to follow pattern. | |
Leliceni, Harghita (area 3614879157). | 640 | TO DO | Multiple localities, follows pattern. | |
Sânmihaiu Almașului, Sălaj (area 3614871215). | 874 | TO DO | Three localities, all seem to exhibit the same pattern. | |
Teaca, Bistrița-Năsăud (area 3614872811). | 1003 | TO DO | High values for house numbers and proper sequential ordering (e.g. 677, 700). Note that there are two localities affected by this, but both seem to be under the same format. | |
Iratoșu, Arad (area 3611487741). | 1335 | TO DO | Seems promising (no addresses, no street names). Care must be taken that there are actually three localities affected by this: "Variașu Mare", "Variașu Mic" and "Iratoșu". | |
Marginea, Suceava (area 3614778634). | 3732 | TO DO | Clear candidate: 0 addresses have a street, and the house numbers reach a high value (e.g. there is a housenumber of 3131) |
These localities were initially detected, but turned out to not be applicable after a manual check:
Area | Number of addresses | Status | Comments |
---|---|---|---|
Năvodari, Constanța (area 3610520475). | 109 | Not applicable. | City, not applicable. |
Girov, Neamț (area 3614777311). | 119 | Not applicable. | Multiple localities, multiple street names and the numbering is reset. |
Sfântu Gheorghe, Covasna (area 3610715864). | 127 | Not applicable. | City, not applicable. |
Pir, Satu Mare (area 3614786197). | 145 | Not applicable. | Multiple streets and the numbering is reset, so not applicable. |
Timișoara, Timiș (area 3606927733). | 156 | Not applicable. | City, not applicable. |
Uricani, Hunedoara (area 3610493447). | 251 | Not applicable. | Small town with a few streets so not applicable. Might be a good candidate for manually adding the corresponding street to the addresses. |
Sebeș, Alba (area 3610630983). | 255 | Not applicable. | City, not applicable. |
Ungheni, Mureș (area 3610748281). | 257 | Not applicable. | City, not applicable. |
Paleu, Bihor (area 3611318305). | 291 | Debatable | There are a few streets in the south where the numbering is reset. The main street does exhibit this pattern, though. |
Hărman, Brașov (area 3610515002). | 294 | Not applicable. | City with multiple street names. |
Iași, Iași (area 3601207838). | 754 | Not applicable. | Big city, clearly not applicable. |
Diosig, Bihor (area 3611552345). | 1846 | Not applicable. | There are a few addresses with street name (12), multiple street names and some numbers can be found twice or multiple times (e.g. 1 for different street names). |