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

Render addr:flats or addr:unit tags like housenumber or housename #264

Closed
saerdnaer opened this issue Nov 13, 2013 · 13 comments
Closed

Render addr:flats or addr:unit tags like housenumber or housename #264

saerdnaer opened this issue Nov 13, 2013 · 13 comments
Labels
addressing enhancement new features Requests to render new features

Comments

@saerdnaer
Copy link

Before I create a pull request, a little discussion:
We in munich have a problem with the tagging of one of the student home neighborhoods. There is a area where every building has the same offical housenumber, but each apartment has it's own building entrance and a own apartment number. Basically an extreme version of terraced housing.

Some user used this appartment number as content for addr:housenumber. In the discussion at our local meeting we came to the conclusion to use addr:flats insteat, but this is not rendered yet.

Is this the right tag to use, or would you prefer an other one?

More information:
http://www.openstreetmap.org/#map=19/48.17930/11.55186
http://www.studentenwerk-muenchen.de/typo3temp/pics/b9b5aaba19.jpg

@dieterdreist
Copy link

Am 13/nov/2013 um 10:47 schrieb Andreas Hubel notifications@github.com:

In the discussion at our local meeting we came to the conclusion to use addr:flats insteat, but this is not rendered yet.

Is this the right tag to use, or would you prefer an other one?

alternatives might be addr:door or addr:unit, but as addr:flats is used 10 times more often I'd probably go with it. Btw: why is this flats and not flat? We don't use addr:streets ;-)

cheers,
Martin

@saerdnaer
Copy link
Author

why is this flats and not flat?

If I interpret http://wiki.openstreetmap.org/wiki/Key:addr:flats correctly, the tag is thougth for ranges too. So if there are multiple flats in that building section (e.g. multiple floors) you use addr:flats=3-7.

@CloCkWeRX
Copy link
Contributor

TODO: we should clean up usage of addr:flatnumber and building:flats at some point, if they aren't correct. The fact they lack a wiki article and are used far less is a good indication of where the community is heading.

@CloCkWeRX
Copy link
Contributor

Another example, slightly different style -
http://www.openstreetmap.org/browse/node/936994217

You can see the "bbg:unit_number", which is obviously the same semantic meaning.

Within Australia, we'd write the postal address as one of

Unit 1, 2 Example Street, Suburbname STATE postcode
1/2 Example Street, Suburbname STATE postcode
.. etc.

For most Australians, if you saw "1/600", "2/600"; it would be confusing but understandable. However, you'd still expect the building itself to be "600", and only if you went for a low zoom level to perhaps see the unit numbers.

A second problem this potentially introduces: high rise apartment buildings or anything multi story.
Level 1: Unit 1/200 Example St.
Level 2, same lat/lon, different alt: Unit 11/200 Example St.

It would be hard to decide which takes precedence in the 2d rendering, if any. For something like the 3d building maps, not as much of an issue.

@saerdnaer - how similar to your scenario is what I describe about AU conventions?

@saerdnaer
Copy link
Author

In Germany, we normally don't write the unit/apartment number as part of the address. Every entrance normally get's it's own house number, sometimes with an additional suffix. In the student home neighborhoods I lived is was common to have one big post box facility per house number. Each post box is only labeled with the apartment number. The mailman can deliver letters to the correct postbox by locking up the surname (and the first letter of the prename) in a list posted in a glas box on the wall.

@saerdnaer
Copy link
Author

So what kind of tag should I use in the pull request? addr:flats?

@pnorman
Copy link
Collaborator

pnorman commented Jun 6, 2014

So what kind of tag should I use in the pull request? addr:flats?

I don't think any of these tags are in the .style file, and new feature requests involving .style updates aren't going to be handled right away.

The wiki defines addr:flats, addr:door and addr:unit as semantically different.

Something to remember is that there are numbers out there involving dashes.

@matthijsmelissen matthijsmelissen added this to the 3.x - Needs upgrade to mapnik or openstreetmap-carto.style milestone Aug 18, 2014
@ERnsTL
Copy link

ERnsTL commented Jan 6, 2015

There is another case example of an apartment complex, using addr:housenumber and addr:unit, with detailed info over at the OSM Help Forum.

I am open to any solution tagging-wise, but the rendered result should look better than right now, see the link, and if not too cluttered, include the flat/unit number at high zoom level.

Post solution here please, so that I can finish tagging that apartment complex. Thanks.

@1ec5
Copy link

1ec5 commented May 29, 2017

alternatives might be addr:door or addr:unit, but as addr:flats is used 10 times more often I'd probably go with it.

Now addr:unit is used twice as much as addr:flats. (openstreetmap/iD#3980 would add addr:unit to iD, which would likely increase usage of this field where unit numbers are erroneously placed in addr:housenumber or addr:street.)

@BalooUriza
Copy link

BalooUriza commented May 29, 2017 via email

@saerdnaer saerdnaer changed the title Render addr:flats tags like housenumber or housename Render addr:flats or addr:unit tags like housenumber or housename May 30, 2017
@saerdnaer
Copy link
Author

For reference – here is link to a TagInfo comparison view: https://taginfo.openstreetmap.org/compare/addr:unit/addr:flats/addr:door/addr:housename

@tpikonen
Copy link
Contributor

I don't have local knowledge on the original example, but I think the correct way to tag it would be to use, for example, addr:unit="Q" and addr:flats="59" and perhaps also building:part=yes for the ways defining separate flats. Currently the tagging is addr:housename="Q59" and building=yes.

Release 4.4.0 added rendering of addr:unit, so rendering of addr:flats would still be needed to fix this issue.

@matthijsmelissen
Copy link
Collaborator

We render addr:unit since #2494.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addressing enhancement new features Requests to render new features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants