[OSM-talk] proposal: relation type=way_affected ("on the beginning of the street")

Stanislav Brabec utx at penguin.cz
Thu Nov 6 08:27:58 GMT 2008


Hallo.

"Just on the beginning of the private way" is one of the common places
for barriers. Its mapping makes an apparent clash between reality and
mapping schematic - there is no way to mark this fact exactly.
http://www.openstreetmap.org/?lat=50.071094&lon=14.425607&zoom=18&layers=B000FFF

You cannot draw the barrier just on the cross node - the main street has
no gate, it's only on the private way. Drawing it on an additional node
gives a bad assumption, that one should search a way with a gate say
10-20 meters from the cross. In fact one should search a gate just next
to the street, with no part of the private way visible. Some renderers
even render the barrier incorrectly inside the main street line.

"Just next to the cross point" is a generic problem, which affects more
features. I can imagine marking them as a new type of relation:


Proposal: Relation way_affected

type=way_affected
... set of feature tags valid for point (e. g. barrier=...,
highway=stop,...)

members:
.  node (recurrence: one) start point of way with barrier
|_ way  (recurrence: one or more) the way affected by the mark

It is expected, that "node" is part of all "way" members.

rendering: Render feature only on affected "way"(s) just next to the
"node" independently on the map scale.


________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx





More information about the talk mailing list