Proposed features/default layer for bridge and tunnel

From OpenStreetMap Wiki
Jump to: navigation, search
default layer value for bridge and tunnel
Status: Rejected (inactive)
Proposed by: Canabis
Tagging: bridge, tunnel, layer=-1, 1
Applies to: Node, Way
Definition: Set default layer=1 for bridge=yes and layer=-1 for tunnel=yes
Rendered as:
Draft start: 2010-12-11
RFC start: 2010-12-15
Vote start: 2011-01-11
Vote end: 2011-01-25

Contents

Proposal

This was already discussed with no results. I propose to introduce default layer value for bridge=yes and tunnel=yes. Those will be layer=1 and layer=-1 respectively. All other elements will stay as is, i.e. with layer=0 by default.

Rationale

  1. Only 72.7% of the objects tagged with bridge=yes have layer=* tag
  2. Among these objects 95.5% use layer=1
  3. Other 4.3% use layer > 1
Some of the objects which are tagged with bridge=yes contain incorrect tags, for example, later=1, layer=!, layer=01, layer=a, layer=level1, layer=one, layer=q1, layere=1, layers=+1
  1. Only 69.3% of the objects tagged with tunnel=yes have layer=* tag
  2. Among these objects 94.7% use layer=-1
  3. Other 4.1% use layer < -1 and 1.1% use layer > 0
Some of the objects which are tagged with tunnel=yes contain incorrect tags, for example, layer=.1, layer=.-1, layer=/1, layer=1-, layer=-1#, layer=layer

Examples

Uncertainties with bridges without layer=*:

  1. http://osm.org/go/uo83f6g9A--
  2. http://osm.org/go/ZVJf3DP7h--
  3. http://osm.org/go/ZVJSKTegG--

And many other.

Uncertainties with tunnels without layer=*:

  1. http://osm.org/go/0CFKZeNw
  2. http://osm.org/go/kagX5R8
  3. http://osm.org/go/euro4JUQx--

And many other.

Tagging

For mapping a bridge, use just bridge=yes without layer=1. If the default value of layer=1 is not suitable (there are already layers defined at the same cross), add layer=0/2...4 or even -1...-4.

For mapping a tunnel, use just tunnel=yes without layer=-1. If the default value of layer=-1 is not suitable (there are already layers defined at this spot), add layer=0/-2...-4 or even 1...4.

Applies to

Node Way, probably to Area.

Rendering

Renderers should draw objects with bridge=yes tag but without layer=* tag, as if they had layer=1, and tunnel=yes assumes layer=-1 as default value.

Today many renderers already draw bridges over and tunnels under other objects by default.

Features/Pages affected

  1. Layer
  2. Key:layer
  3. Bridge
  4. Tunnel
  5. Relations/Proposed/Bridges and Tunnels
  6. JOSM/Validator
  7. Renderers: Osmarender, Mapnik, etc.
  8. Category:Outputs: GPS Maps From OSM Data, OSM Map On Garmin, etc.

Maybe more?

Comments

Please discuss and comment at Talk.

Voting

Wiki tip: Type {{vote|yes/no}} to approve/oppose this proposal, type 4 tildes like: ~~~~ to sign your user name & date. You can add a short comment, but please use the talk page where appropriate.

Voting has ended 2011-01-25. The votes are 37 opposed, 18 approval and 2 indifferent. The result is rejected.

Personal tools
Namespaces
Variants
Actions
site
Toolbox