When searching with the API for “buchs” in Switzerland, there are several results:
- Buchs (SG)
- Buchs (ZH)
- Buchs
- Buchs LU
Now, the third one is actually Buchs (AG), but the API returns only the “name” attribute, and the interesting information would be available in the “official_name” attribute: Relation: Buchs (1684283) | OpenStreetMap
Questions:
- Would it be possible to add “official_name” to the API?
- Would it make sense to standardize the naming (i.e. with/without parentheses and using/not using official name)
address
:
{village: 'Buchs', county: 'Bezirk Aarau', state: 'Aargau', ISO3166-2-lvl4: 'CH-AG', postcode: '5033', …}
addresstype
:
"village"
boundingbox
:
(4) ['47.3804268', '47.4055906', '8.0635778', '8.1166280']
class
:
"boundary"
display_name
:
"Buchs, Bezirk Aarau, Aargau, 5033, Schweiz"
importance
:
0.2780150946188139
lat
:
"47.3910322"
licence
:
"Data © OpenStreetMap contributors, ODbL 1.0. http://osm.org/copyright"
lon
:
"8.0692413"
name
:
"Buchs"
osm_id
:
1684283
osm_type
:
"relation"
place_id
:
93492010
place_rank
:
16
type
:
"administrative"