[Tagging] day_on / day_off question

Philip Barnes phil at trigpoint.me.uk
Mon May 7 23:01:56 BST 2012


On Mon, 2012-05-07 at 20:58 +0200, Jørgen Elgaard Larsen wrote:
> Martijn van Exel wrote:
> > See my current try at this here:
> > http://www.openstreetmap.org/browse/way/33973144
> 
> First of all, you should not use motor_vehicle=private. That does *not* 
> mean private vehicles, but rather that motor vehicles are allowed "Only 
> with permission of the owner on an individual basis"
> 
> Instead, I would suggest:
> 
>    motor_vehicle=no
>    motorcar=yes
>    goods=no
>    tourist_bus=no
>    psv=no
> 
> As for the date_off and date_on, you should use YYYY-MM-DD format. 
> Otherwise, it will be impossible for a route planner to parse it. 
> (Besides, not all non-USAnians know when Memorial Day is).
> 
> But note that date_on/date_off has the year in it, so it is not even 
> meant to be used for periodic access. More like when a new road opens, 
> or an old one is closed permanently.
> 
> day_on/day_off seems only to allow week days, not odd/even/federal_holiday·
> 
> There is an old proposed feature to use opening_hours syntax:
>  
> http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_for_access_tags
> but it seems to have been abandoned.
> 
> Anyway, according to that scheme, it would be tagged as:
>     motorcar:(PH 00:00-24:00;Jun 02-30/2 00:00-24:00;Jul 02-30/2 
> 00:00-24:00; Aug 02-30/2 00:00-24:00; Sep 02-24/2 00:00-24:00)=yes
>     bicycle:(Oct-May 00:00-24:00;Jun 01-30/2 00:00-24:00; Jul 01-31/2 
> 00:00-24:00;Aug 01-30/2 00:00-24:00;Sep 01-30/2 00:00-24:00)=yes
> 
> I certainly hope that proposal is not approved in its current form!
> 
> 
> As for the note_2: You should really combine the notes in one "note" tag.
> 
You really need a day of week in there, to cover roads that are closed
on a particular day such as market day. Or closed at weekends, then
there are roads where HGVs are prohibited during certain hours such as
overnight.

Phil





More information about the Tagging mailing list