#10300 closed enhancement (fixed)
Add field for addr:suburb to address preset
Reported by: | daganzdaanda | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.08 |
Component: | Internal preset | Version: | tested |
Keywords: | Address | Cc: |
Description
Hi,
I propose to add
addr:suburb
to the internal address preset.
Currently, there are fields for
addr:housenumber
addr:housename
addr:street
addr:city
addr:postcode
addr:country
In my area (Bavaria), there are a lot of cities and towns that include a number of villages as suburbs.
The addr:suburb tag is used in addresses there, because addr:city is always the main city. I'd love to be able to enter all this in the same dialogue.
Attachments (0)
Change History (20)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
I've found the address-plugin in defaultpresets.xml
Would adding this line:
<text key="addr:suburb" text="Suburb" use_last_as_default="force" match="key" />
after
https://josm.openstreetmap.de/browser/josm/trunk/data/defaultpresets.xml#L6820
be enough for now?
Full customization is probably not quite as simple.
comment:4 by , 11 years ago
Milestone: | → 14.08 |
---|
comment:6 by , 11 years ago
Is addr:place already in the list? It seems to be used much more widely.
comment:8 by , 11 years ago
Thank you very much!
I think for Canada and some other countries, addr:province is used (you have "US/Canadian States as defined in ISO 3166-2" for addr:state)
<http://taginfo.openstreetmap.org/search?q=addr> has some widely used tags that I've never seen before:
addr:conscriptionnumber (> 2 million uses, mostly in CZ)
addr:streetnumber and addr:provisionalnumber seem to belong in the Czech system as well.
From the wiki <http://wiki.openstreetmap.org/wiki/Key:addr>, maybe addr:flats addr:unit and addr:door would make sense?
follow-up: 14 comment:9 by , 11 years ago
I forgot province, that's right. I won't add the others, they're not used much. Neither the czech one, not documented.
comment:11 by , 11 years ago
OK, thanks a lot!
You still have the Canadian provinces in the combo-list of states (at the end).
AB,BC,MB,NB,NL,NS,ON,PE,QC,SK,NT,NU,YT
I don't think adding an extra combo list for Canada is necessary. Province is used in more countries than CA, as taginfo shows.
Btw, when I use the addr:street field, I get all kinds of names as suggestions for autocomplete. Is there a way to restrict the suggestions to names of streets? This is the line in the code:
<text key="addr:street" text="Street name" use_last_as_default="force" match="key" alternative_autocomplete_keys="name" />
follow-up: 15 comment:12 by , 11 years ago
Indeed. I messed up Canadian provinces and US states as they use the same postal abbreviation system.
comment:14 by , 11 years ago
Replying to Don-vip:
I forgot province, that's right. I won't add the others, they're not used much. Neither the czech one, not documented.
That is fine, the CZ & SK addressing schema is covered at
https://josm.openstreetmap.de/josmfile?page=Presets/Czech_Slovak_addresses&preset
follow-up: 17 comment:15 by , 11 years ago
Replying to Don-vip:
Indeed. I messed up Canadian provinces and US states as they use the same postal abbreviation system.
You listed "AS,GU,MP,PR,UM,VI" as part of the 50 U.S. States should be removed. These are list as a Insular area. They are independent nations, that participate with the U.S. State Department. Here are the 50 U.S. States
follow-up: 19 comment:17 by , 11 years ago
Replying to frankthetankk:
Replying to Don-vip:
Indeed. I messed up Canadian provinces and US states as they use the same postal abbreviation system.
You listed "DC,AS,GU,MP,PR,UM,VI" as part of the 50 U.S. States should be removed. These are list as a Insular area. They are independent nations, that participate with the U.S. State Department.
I understand they are not proper incorporated states, but I used List_of_U.S._state_abbreviations and these abbreviations are defined as such in ISO, ANSI, USPS and USCG standards. As we're talking about an address here, doesn't it make sense to reuse abbreviations used by USPS? I assume if you want to send a letter to someone living in Puerto Rico for example, you'd use "PR" as state abbreviation to make USPS ship that letter, no?
comment:18 by , 11 years ago
See official USPS documentation #1 and #2 about Puerto Rico addresses. I'd prefer to keep these entries.
comment:19 by , 11 years ago
Replying to Don-vip:
Replying to frankthetankk:
Replying to Don-vip:
Indeed. I messed up Canadian provinces and US states as they use the same postal abbreviation system.
You listed "DC,AS,GU,MP,PR,UM,VI" as part of the 50 U.S. States should be removed. These are list as a Insular area. They are independent nations, that participate with the U.S. State Department.
I understand they are not proper incorporated states, but I used List_of_U.S._state_abbreviations and these abbreviations are defined as such in ISO, ANSI, USPS and USCG standards. As we're talking about an address here, doesn't it make sense to reuse abbreviations used by USPS? I assume if you want to send a letter to someone living in Puerto Rico for example, you'd use "PR" as state abbreviation to make USPS ship that letter, no?
That's fine with me. Just trying to help if you make a mistake. :)
comment:20 by , 11 years ago
No problem :) It's always great to have feedback from people living in other countries :)
comment:21 by , 11 years ago
Hi again,
the German translation is not yet perfect. I have started a thread http://forum.openstreetmap.org/viewtopic.php?id=26830 to find a good translation especially for addr:place. I will change the translation myself, after I get some feedback.
But there's something else:
addr:housename is, according to the wiki, mainly a UK thing. Should it be moved to the second group of tags?
I see many addr:housename tags in Germany, where it's mostly wrongly used instead of name/old_name/loc_name/...
...come to think of it, maybe the address preset could be customizeable by the user?
So that everybody gets quick access to the addr:* tags they use most, and can hide the tags they do not need. E.g. in Germany there is no official "addr:housename", but in the UK it is quite common. Or, "addr:state" is used in the US, but not here.