Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding unit field to USA #4235

Merged
merged 4 commits into from
Aug 18, 2017
Merged

Adding unit field to USA #4235

merged 4 commits into from
Aug 18, 2017

Conversation

JamesKingdom
Copy link
Collaborator

Closes #3980

@bhousel
Copy link
Member

bhousel commented Aug 17, 2017

This looks good - why only USA?

["subdistrict"],
["district"],
["city"],
["province", "postcode"]
]
},
{
"countryCodes": ["au"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just combine this with "ca" (Canada), they're the same

@bhousel
Copy link
Member

bhousel commented Aug 18, 2017

Thanks @JamesKingdom this looks great 👍

@bhousel bhousel merged commit 17f4e70 into master Aug 18, 2017
@JamesKingdom JamesKingdom deleted the unit_add branch August 18, 2017 01:10
["housenumber", "suburb"],
["city", "postcode"]
]
},
{
"countryCodes": ["vn"],
"format": [
["housenumber", "street"],
["housenumber", "street","unit"],
Copy link
Collaborator

@1ec5 1ec5 Aug 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think we should include addr:unit in the Vietnam address format. There’s only one (mistaken) use of this tag in all of Vietnam, reflecting the fact that units aren’t numbered in that country. Floor numbers are sometimes given in addresses, but generally the smallest level of addressing is the building number.

Addresses can be quite granular even without addr:unit, because the addr:housenumber and addr:street tags are both hierarchical. For example, this is the address of building 8, alley 251, lane 48, Nguyễn Khang street:

Số 48/251/8 đường Nguyễn Khang
Xã Yên Hòa
Quận Cầu Giấy
Hà Nội

addr:housenumber=48/251/8
addr:street=Nguyễn Khang
addr:subdistrict=Yên Hòa
addr:district=Cầu Giấy
addr:city=Hà Nội

addr:housenumber can be even more complex, for example 7/14/12/3/23. On the other hand, some mappers prefer to put all the alley and lane numbers in addr:street so the map doesn’t look so cluttered, for example lane 19, Liễu Giai street.

More information about Vietnam’s address formats:

https://vi.wikipedia.org/wiki/Địa_chỉ
https://youbianku.com/files/upu/VNM.pdf
http://vforum.vn/diendan/showthread.php?91066-Thon-Xom-Ap-Xa-Phuong-Huyen-Quan-Tinh-Thanh-Pho-trong-tieng-Anh-la-gi-khi-viet-dia-chi-nha

/ref #2252

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, thanks for the information, I removed it in #4242

@speedbiker
Copy link

Is it possible to leave this "addr:unit"-field away in the German version, especially in Austria? It's useless for adresses in Austria and Germany.
And then more space on the monitor is available for addr:street-field.

@althio
Copy link
Contributor

althio commented Jan 8, 2018

I think we should remove addr:unit in the fr address format. So PR #4667

But I must say... I think it was a bad move to add addr:unit by default and in all country formats.

@bhousel
Copy link
Member

bhousel commented Jan 8, 2018

I think it was a bad move to add addr:unit by default and in all country formats.

Why?

@althio
Copy link
Contributor

althio commented Jan 8, 2018

It is beneficial for US, CA, AU and doubtlessly other countries around the world (I guess Malaysia, HK...)

But some countries already had an address format in iD, why change them?
The rollbacks show that it was wrong for:

I have my own bias about why addr:unit should not be in a standard default address format worldwide.
I feel it is suitable for some countries with dense cities and HIGH towers. It makes little sense worldwide, if I must guess.

@speedbiker
Copy link

For HU and SI I also do not see any benefit.

@amandasaurus
Copy link
Contributor

I don't think addr:unit should be a default for IE.

I read the wiki page for addr:unit and I'm still confused. We don't tend to have "multiple separate entrances". Irish addresses are all over the place, so it's not uncommon for it to be unclear where things are.

"Unit" is very rarely used in Irish addresses, mostly for separate addresses within a (light) industrial estate. So you might see "Mappy Ltd., Unit 5, Whatever Road, Ballytown Industrial Estate, Co. Whatever". Here "Unit" is addr:housenumber, and different from addr:unit. I'm unsure if there is >100 addresses in Ireland that would use addr:unit.

@mertemin
Copy link
Contributor

mertemin commented Jan 9, 2018

addr:unit is not needed for Turkish either.

@bhousel
Copy link
Member

bhousel commented Jan 9, 2018

Please submit PRs so that the address field looks however you want it to look.

@openstreetmap openstreetmap locked as resolved and limited conversation to collaborators Jan 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants