Proposal talk:Addr=main

From OpenStreetMap Wiki
Jump to navigation Jump to search

Original discussion in French

Discussion in French on forum.openstreetmap.fr

Schéma de Charlieu replacement

I think it is a better replacement for "Le Schéma de Charlieu" for reasons stated there.

  • A house address and a POI address are both addresses, containing the same kind of information, and therefore it makes sense to use the same addr: in both cases.
  • If the element has the addr=main key, then that's the default street number.
  • Any house in a associatedStreet relationship could (semi-)automatically be tagged addr=main as well as elements with a (locally) unique address.
  • Multiple elements with identical addresses and addr=main on more than one would be flagged as an error to be fixed.
  • contact:* should still be used when the POI has a different address than its physical location (for example, a PO box)

--Pandark (talk) 23:13, 1 March 2023 (UTC)

Specify multiple uses for a given address

I think using addr=main is genius.

Therefore, I believe we should consider using other values, allowing multiple address nodes. e.g.: addr=main;delivery;service;garage;hgv;bikes

The overlap with entrance=* is better minimized. addr=* should be reserved for distinguishing addressing objects. entrance=* has its own problems that needs to be solved first, eg can't have main vs secondary vs servicing vs deliveries entrance=shop , entrance=home , entrance=garage . At most, they should share some suffix eg *:to=* , *:function=* , cf TagInfo entrance:use=* used by others before.
—— Kovposch (talk) 07:10, 11 July 2025 (UTC)

Example 1 : INSEE building

This building way 556532717 hosts the INSEE office with these entrances having an address:

Address Entrance type OSM tags OSM objects Panoramax picture
116 Avenue Verdier Main addr=main node 5713474941 https://panoramax.openstreetmap.fr/?pic=8e9c2145-6e9a-446c-acff-14ba2fd9932a&xyz=85.14/-14.41/0
116 Avenue Verdier Service addr=service node 12991933625 https://panoramax.openstreetmap.fr/?pic=36088b5c-0b72-48e4-8d9d-96f62eae620b&xyz=7.66/-26.48/0
88 Avenue Verdier Secondary addr=secondary node 2493656071 https://panoramax.openstreetmap.fr/?pic=10f30416-186a-4221-9c89-812672302a95&xyz=1.51/-8.96/0
23 Avenue de la Marne Garage addr=garage
motor_vehicle=yes
node 8569602272 https://panoramax.openstreetmap.fr/?pic=1482464a-528f-4ca5-972d-21c695bd3323&xyz=126.54/-1.76/0
23 Avenue de la Marne Service addr=service
motor_vehicle=no
node 12991910945 https://panoramax.openstreetmap.fr/?pic=340b75a2-2bc5-4679-a421-440772e497d9&xyz=122.26/-6.25/0

Other entrances also exist, without any address associated: node 12991906356, node 12991940439, node 12991940440.

As there are different addresses and entrances without any address, I don't see another way than to create a specific site relation (please tell me I'm wrong and that you have an alternativeǃ).

addr=secondary is ambiguous and confusing here. addr=* doesn't have the same meaning as entrance=secondary , as it refers to main address object. The same address can have multiple entrance=* , and the secondary address can have its own addr=main , meaning this doesn't work. A different addr*=* / addr_*=* / addr:*=* is needed for main vs secondary addresses separately from main vs secondary objects.
—— Kovposch (talk) 06:58, 11 July 2025 (UTC)

Example 2: "Musée d'Art et de Culture Soufis"

This museum node 5010996908 has

All these 3 nodes have a unique address: addr:housenumber=6 at addr:street=Avenue des Tilleuls

Overflorian (talk) 14:41, 10 July 2025 (UTC)

addr=entrance doesn't explain it clearly, and is confusing with entrance=* . addr=building / addr=target / addr=receiver ?
—— Kovposch (talk) 07:13, 11 July 2025 (UTC)