[OSM-talk] [RFC] restriction=school_zone (second email)
"Marc Schütz"
schuetzm at gmx.net
Fri Aug 7 11:37:13 BST 2009
-------- Original-Nachricht --------
> Datum: Fri, 7 Aug 2009 02:55:05 +0000 (GMT)
> Von: John Smith <delta_foxtrot at yahoo.com>
> An: mk at koppenhoefer.com, Roy Wallace <waldo000000 at gmail.com>
> CC: talk at openstreetmap.org
> Betreff: Re: [OSM-talk] [RFC] restriction=school_zone (second email)
>
> --- On Thu, 6/8/09, Roy Wallace <waldo000000 at gmail.com> wrote:
>
> > maxspeed[school_days][08:30-09:30]=40
>
> Except that is putting values on the key side of things. To do things
> properly you would need something like this.
>
> maxspeed:school_zone=40
> maxspeed:school_zone:on=08:30-09:30;14:30-15:30
No, you're still putting a value on the key side (the reason).
To really handle this properly, I would suggest using a relation:
type=property
maxspeed=40
when=08:30.../school_days/whatever
reason=school_zone
This would the apply to all members of that relation.
And it is general enough that you could use it for anything you like, not only for restrictions. Its meaning is simply, that all the tags on the relation should apply to all its members.
Regards, Marc
--
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
More information about the talk
mailing list