Re: [OSM-talk] access=destination valid only in one direction

2009-07-11 Thread Marcus Wolschon
On Fri, Jul 10, 2009 at 5:03 PM, Tobias Knerro...@tobias-knerr.de wrote:
 Stanislav Brabec wrote:
 Is there a way how to map a street with access=destination valid just
 only for one direction? In the reverse direction it is a standard drive
 through street.

 Using my proposal
 http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_for_access_tags
 it would be

 access[forward] = destination

 (or access:forward = destination, depending on what syntax people like
 better)

 Of course that's way direction dependent.

and it does not work NOW.
Once it MAY be accepted in this OR a modified form (sometime in the future),
then used in a significant number of places (much, much later),
then the first programs may get a feature-request to implement support for it
(where the normal access=destinationis already a bit tricky and not all
programs have internal datastructures that allow such a construct at all) and
quite a while later some developer may find the time to actually implement
and test it. Then people will start filing bugs as it does not work
perfectly the first time and later these bugs may be fixed.
THEN it will be supported in SOME programs while others will still ignore it
completely.

Whereas drawing 2 ways works now. These 2 ways may even share
exactly the same nodes and if they share the same nodes even turning
around at any of these nodes will work.

Marcus

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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-11 Thread Claudius
Am 11.07.2009 08:23, Marcus Wolschon:
 On Fri, Jul 10, 2009 at 5:03 PM, Tobias Knerro...@tobias-knerr.de  wrote:
 Stanislav Brabec wrote:
 Is there a way how to map a street with access=destination valid just
 only for one direction? In the reverse direction it is a standard drive
 through street.
 Using my proposal
 http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_for_access_tags
 it would be

 access[forward] = destination

 (or access:forward = destination, depending on what syntax people like
 better)

 Of course that's way direction dependent.

 and it does not work NOW.
 Once it MAY be accepted in this OR a modified form (sometime in the future),
 then used in a significant number of places (much, much later),
 then the first programs may get a feature-request to implement support for it
 (where the normal access=destinationis already a bit tricky and not all
 programs have internal datastructures that allow such a construct at all) and
 quite a while later some developer may find the time to actually implement
 and test it. Then people will start filing bugs as it does not work
 perfectly the first time and later these bugs may be fixed.
 THEN it will be supported in SOME programs while others will still ignore it
 completely.

 Whereas drawing 2 ways works now. These 2 ways may even share
 exactly the same nodes and if they share the same nodes even turning
 around at any of these nodes will work.

I think forcing *everything* to be backward compatible does hinder 
evolution sometimes.
You could also start tagging access:forward and eventually routers *have 
to* support it because it's used in such big numbers.

And, besides, drawing two ways simply does not reflect reality on the 
ground and as such is a wrong information that cannot be healed later 
on. It's easier for a router-preprocessor to turn access:forward into 
two ways internally.

Claudius


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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-11 Thread Pieren
On Sat, Jul 11, 2009 at 8:23 AM, Marcus Wolschonmar...@wolschon.biz wrote:
 Whereas drawing 2 ways works now. These 2 ways may even share
 exactly the same nodes and if they share the same nodes even turning
 around at any of these nodes will work.

 Marcus

This is not tagging for the renderer but drawing for the routing
applications. It's not better.

Pieren

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


[OSM-talk] access=destination valid only in one direction

2009-07-10 Thread Stanislav Brabec
Hallo.

Is there a way how to map a street with access=destination valid just
only for one direction? In the reverse direction it is a standard drive
through street.

http://www.openstreetmap.org/browse/way/30764132

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


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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-10 Thread Peter Childs
2009/7/10 Stanislav Brabec u...@penguin.cz:
 Hallo.

 Is there a way how to map a street with access=destination valid just
 only for one direction? In the reverse direction it is a standard drive
 through street.

 http://www.openstreetmap.org/browse/way/30764132


The standard way to do this is with a second parallel way tagged
accordingly, Like a dual carriageway.

Peter.

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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-10 Thread Ben Laenen
Peter Childs wrote:
 2009/7/10 Stanislav Brabec u...@penguin.cz:
  Hallo.
 
  Is there a way how to map a street with access=destination valid just
  only for one direction? In the reverse direction it is a standard drive
  through street.
 
  http://www.openstreetmap.org/browse/way/30764132

 The standard way to do this is with a second parallel way tagged
 accordingly, Like a dual carriageway.

That's also an ugly way to do it, as it's skewing reality quite a bit.

Better is to use some syntax like: access:forward=destination or 
access:backward=destination depending on the way direction.

And to add support for that in programs as well of course :-)

Ben


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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-10 Thread Bernd Raichle
On Friday, 10 July 2009 15:03:32 +0100,
Peter Childs pchi...@bcs.org writes:
  2009/7/10 Stanislav Brabec u...@penguin.cz:
   Hallo.
  
   Is there a way how to map a street with access=destination valid just
   only for one direction? In the reverse direction it is a standard drive
   through street.
  
   http://www.openstreetmap.org/browse/way/30764132
  
  
  The standard way to do this is with a second parallel way tagged
  accordingly, Like a dual carriageway.

... only if it is a dual carriageway!

If it is a single carriageway without physical divider etc., only
_one_ way is mapped.  In this case I tag a direction depending
attribute with an additional :forward resp. :backward in the key:

  key:forward=...
  key:backward=...

For example, a way with maxspeed=100 and maxspeed:forward=70 is a
street with a speed limit of 100 km/h in one, and 70 km/h in the other
direction.  Forward and backward is given in the direction the way is
drawn, and these tag additions are reversed by newer version of JOSM,
if the way is reversed.

Best wishes,
  -bernd

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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-10 Thread Pieren
On Fri, Jul 10, 2009 at 4:03 PM, Peter Childspchi...@bcs.org wrote:
 The standard way to do this is with a second parallel way tagged
 accordingly, Like a dual carriageway.

 Peter.

Is it really the standard way to draw a dual carriageway just to fix
access restrictions ?
My guess it's not.

Pieren

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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-10 Thread Stanislav Brabec
Peter Childs wrote:
 2009/7/10 Stanislav Brabec u...@penguin.cz:
  Is there a way how to map a street with access=destination valid just
  only for one direction? In the reverse direction it is a standard drive
  through street.
 The standard way to do this is with a second parallel way tagged
 accordingly, Like a dual carriageway.

It seems to be sub-optimal for a narrow street with a single driving
lane and parking zone. It would look wider than the crossing 4-lane
motorway street.

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


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


Re: [OSM-talk] access=destination valid only in one direction

2009-07-10 Thread Tobias Knerr
Stanislav Brabec wrote:
 Is there a way how to map a street with access=destination valid just
 only for one direction? In the reverse direction it is a standard drive
 through street.

Using my proposal
http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_for_access_tags
it would be

access[forward] = destination

(or access:forward = destination, depending on what syntax people like
better)

Of course that's way direction dependent.

Tobias Knerr

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