NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

In the US, we have a lot of address that have two house numbers associated with them: a house number and an apartment/unit/lot/suite number. The number on the front door is always the more specific apartment/unit/lot/suite number, though sometimes the more general street house number is included as well.

For manufactured homes in a mobile home park, there is often one house number for the whole area and then each house gets a lot number. For example, the street address of a house might be:

25 Maple Street Lot 7

More likely than not, the number 25 will not be on the house at all, but only the number 7. So that would lead me to believe that we can use a way with building=yes, addr:housenumber=7 and addr:street=Maple Street, but the street address 7 Maple Street would be somewhere else entirely, so it seems like the 25 part of the address needs to be captured some way. Alternatively, you could tag every house in the subdivision with addr:housenumber=25, but then you could differentiate the houses from each other.

Another example is townhouses where you have things like

25 Maple Street Unit 3

In this case, you probably don't have separate buildings, so you can put building=yes, addr:housenumber=25 and addr:street=Maple Street on the way for the building, and you can put addr:housenumber=3 on the node for the entrance to unit 3, but again how do you avoid confusion with the house at 3 Maple Street?

asked 20 Jan '11, 19:26

Peter%20Dobratz's gravatar image

Peter Dobratz
3116819
accept rate: 0%

edited 20 Jan '11, 23:00

TomH's gravatar image

TomH ♦♦
3.3k83943


The general consensus on addr:* tags now seems to be to put the main number in addr:housenumber and the minor number in addr:unit. In the example above for 25 Maple St Unit 3, we would have the following:

addr:housenumber=25
addr:street=Maple Street
addr:unit=3
permanent link

answered 16 Jun '15, 17:48

Peter%20Dobratz's gravatar image

Peter Dobratz
3116819
accept rate: 0%

What I do where a building contains multiple apartments is to tag it with addr:housenumber or addr:housename to indicate the address of the block, and then add addr:flatnumber to indicate which apartment numbers exist in the building. So you would have something like:

addr:street=Foo Street
addr:housenumber=25
addr:flatnumber=1-6

or, if the block is named:

addr:street=Bar Street
addr:housename=Baz House
addr:flatnumber=1-25

I think the wiki also has a tag for specifying how to interpolate the flat numbers if the block only contains odd or even numbers.

permanent link

answered 20 Jan '11, 23:03

TomH's gravatar image

TomH ♦♦
3.3k83943
accept rate: 20%

edited 20 Jan '11, 23:03

I'll add the links in my answer instead. Too hard to use these fields..

(21 Jan '11, 09:10) emj

There seems to be many ways to do this in the wild, while searching I've seen:

  • building=entrance + ref=* more than 20 usages around the world, means flat "D" (can't do a search for that
  • addr:flatnumber 50 usages in world, + addr:flatnumber:interpolation=all/even/odd (just used once)

But I still think this is a general problem, there exist many places that have only one housenumber or address but include many sub addresses.

  • Unit numbers
  • Entrance numbers
  • Building numbers
  • Tent location
  • Parking numbers
  • Cabin numbers (in hotels)

Perhaps something like:

addr:subnumber=* 
title:addr:subnumber=Lot

or

ref=b-k
ref:title=flat/lot/entrance/blabla?
permanent link
This answer is marked "community wiki".

answered 20 Jan '11, 21:44

emj's gravatar image

emj
2.0k123547
accept rate: 15%

edited 21 Jan '11, 09:28

Can't you use something like addr:housenumber=25/7 for 25 Maple Street Lot 7? The housenumber tag allows alphanumeric characters not just numbers. So you could even write something like addr:housenumber=25 Lot 7. I think this solves your problem.

permanent link

answered 20 Jan '11, 20:57

ALE's gravatar image

ALE
1.9k415774
accept rate: 14%

I would probably do a separate node for "addr:housenumber=25" and then add tag the lots with addr:housenumber=Lot 7; addr:street=Maplestreet 25

(20 Jan '11, 21:45) emj
2

I think you should not put the number in the addr:street tag because this will cause problems for navigation programs. The might not find the address and / or housenumber.

(21 Jan '11, 11:06) ALE

makes sense.

(22 Jan '11, 09:22) emj

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×63
×30

question asked: 20 Jan '11, 19:26

question was seen: 23,125 times

last updated: 16 Jun '15, 17:48

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum