Proposal:Relation:postal code

From OpenStreetMap Wiki
(Redirected from Relation:postal code)
Jump to navigation Jump to search
Note that there is another boundary relation system with boundary=postal_code which is already in wide use.
Proposal status: Obsoleted (inactive)
Proposed by: Robx
Tagging: type=postal_code

Draft started: 2008-07-02

This Relation could replace postal_code=* on ways. There should be one relation per postal code, grouping all streets with this postal code.


Key Value Discussion
type postal_code defines the type of the relation
postal_code * the postal code


Way or Node Role Recurrence? Discussion
way (blank) zero or more street with this postal code


  • One might want to add other objects associated with the postal code to the relation, e.g., buildings. On the other hand, if they're already associated with a street in the relation, this isn't necessary.
  • If a street consists of several ways, you can add a Relation:street to the postal code relation instead of the separate ways.