Relations/Proposed/Area

From OpenStreetMap Wiki
Jump to: navigation, search
Area-relation
Status: Draft (under way)
Proposed by: dieterdreist
Tagging: type=area
Applies to: relation
Definition: a relation to connect
and divide ways along linear
distribution and on nodes.
Defines implicit areas,
area steps,
might also introduce lanes.
Rendered as: whateveryoulike
Draft start: 2009-12-02
RFC start: *
Vote start: *
Vote end: *

Contents

Area-relation

A relation type=area is a linear connection between two ways which defines an area between them. This area can also be considered as crossover possibility. It can be used for the description of:

Generally areas are considered routable, i.e. an area-relation defines a linear connection between two and more (contiguous) ways. If they should not be, an element of the role : barrier or a Tag barrier=* must be added. The barriers (dividers) can be areas, ways or nodes):

The relation attaches areas like streets to the centre-line-highway=*-graph. It allows for lazy mapping because only the lateral limits are needed to define an area.


Example uses

Reasoning

Area-steps, steps which are wide and/or irregular

scheme

<to be added>

Tags for the relation

Roles for the way members

requirements for the ways

The upper and lower way should have the same amount of nodes and point more or less in the same direction (do not have an inversed direction).

highway / lane / barrier

Members

required

optionally

Please note that the divider can also be defined with a tag barrier=* on the relation.

Roles for highway/lane-mapping

optionally

Tags on the relation

required

and one of the following

or

or

optionally

note

Explicit Barrier-objects (objects with role : barrier) have precedence over barrier-tags on the relation. If objects with role : barrier are part of the relation, no barrier-tags should be added to the relation itself.

barrier mapping

example tags

to cross the barrier:

Position of the Barrier

The barrier/divider is asumed to be in the position of half the width=* of the ways in case that 2 ways with role : highway are involved. If width is not set or if lanes are involved the position could be calculated by the software regarding number of lanes and given widths (to get good results under conditions where not all data is set).

In complex situations there is always the possibility to add explicit divider-objects to the relation with role : barrier.

Additional information for barriers (optional)

...

Useful combinations

surface=*

Usecases

Rendering / Display in Editors

The relation type=area is rendered as an area above landuse and below linear ways. It is (should preferably) displayed in editors like an area. Eventually the virtual dividers/barriers (i.e. that are not mapped explicitly and therefore not added as role : barrier or role : divider to the relation) are displayed as well.

Consistency with current data model

  1. the new lanes are tagged differently than existing highway classes to avoid inconsistencies. Existing highways are kept.
  2. this proposal permits to map lanes explicitly maintaining routing capabilities for existing applications (if an old applications doesn't know of highway=lane and the area-relation it will still keep working)
  3. common barrier=*-Tags can be used on the relation and common barriers can be added with role : barrier
  4. all common objects can be used as role : barrier
  5. the proposed area-steps are completely compatible with the current data model, especially if you draw an additional center-line.

See also

Comments

please use Talk:Relations/Proposed/Area

Personal tools
Namespaces
Variants
Actions
site
Toolbox