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

2008-11-06 Thread Stanislav Brabec
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.071094lon=14.425607zoom=18layers=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


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


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

2008-11-06 Thread Stanislav Brabec
Rory McCann wrote:
 On 06/11/08 08:27, Stanislav Brabec wrote:
  
  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.071094lon=14.425607zoom=18layers=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.
 
 I know what sort of feature you're talking about. But I would have
 thought that the barrier (or whatever) would be ever so slightly on the
 private way (eg 10cm in). Would it not make more sense to have a node
 veery close to the start of the private way?

It would be OK, if OSM would exactly map the world, centimeter by
centimeter.

But the way is only a schematic one-dimensional object, so we also need
a schematic method to mark just next to the way.

Renderers have no idea about exact way width and attempt to render the
barrier inside the schematic line of the main way (exactly on the place
veery close to the start of the private way).



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


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


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

2008-11-06 Thread Ed Loach
 Renderers have no idea about exact way width and attempt to
 render the
 barrier inside the schematic line of the main way (exactly on
 the place
 veery close to the start of the private way).

So the relation is to try and overcome a problem with the renderers, rather 
than a problem with mapping? I've just accepted that I can't zoom in close 
enough to show things as accurately as they might be mapped. It's a matter of 
scale. 

The post box icon for example often seems to overlap the way if it is actually 
next to the way, but then it may well also show as the same width as the way, 
which it clearly isn't in reality. I'm happy putting a node where the gates are 
(according to my GPS unit, and I've recently tagged a footpath that crosses a 
road and could clearly see where the gates needed to go, though I'd only got a 
single trace on each of the road and the footpaths taken with the same unit, so 
perhaps that helped). I think JOSM allows me to zoom in closer than the 
renderers do which might help with the positioning a bit.

Ed



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


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

2008-11-06 Thread Rory McCann
On 06/11/08 08:27, Stanislav Brabec wrote:
 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.071094lon=14.425607zoom=18layers=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.

I know what sort of feature you're talking about. But I would have
thought that the barrier (or whatever) would be ever so slightly on the
private way (eg 10cm in). Would it not make more sense to have a node
veery close to the start of the private way?

Rory



signature.asc
Description: OpenPGP digital signature
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


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

2008-11-06 Thread Andy Allan
On Thu, Nov 6, 2008 at 8:27 AM, Stanislav Brabec [EMAIL PROTECTED] wrote:
 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.071094lon=14.425607zoom=18layers=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.

Well, yes, it's actually not where the two roads cross, as far as I'm
concerned. Go stand in the very centre of the junction, right in the
middle of the road. Can you touch the barrier with your hand? No, it's
out of reach. How far from where you are standing? A few metres,
usually - roughly the width of the road.

So I don't see anything wrong with saying the barrier is a few metres
from the very centre of the junction. And your suggestion, by
comparision, is really overcomplicating things!

Cheers,
Andy

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk