Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Roy Wallace
On Sat, Aug 8, 2009 at 5:17 AM, Martin Koppenhoefer wrote: > why is this a value in the key: > maxspeed:wet=40 > couldn't you interpret "maxspeed:wet" as a key? The maxspeed in wet > condition? Could you explain the problem that arises (I am not an > informatics person and maybe for this don't unde

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Roy Wallace
On Sat, Aug 8, 2009 at 1:24 AM, Lars Aronsson wrote: > John Smith wrote: > >> For general time based restrictions you can still do it in one >> line if you must, without needing to parse variable information >> in the key section: >> >> maxspeed:time=12:00-23:59;tu,th;50 >> hh:mm-hh:mm;[dd,dd,dd|dd

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Roy Wallace
On Fri, Aug 7, 2009 at 5:12 PM, John Smith wrote: > > --- On Fri, 7/8/09, Roy Wallace wrote: > >> I don't like the _1 and _2, but I guess you're saying >> that's the only > > I didn't come up with it, it's already being used for other similar things > where the same tag appears multiple times. A

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Martin Koppenhoefer
2009/8/7 Roy Wallace : > By the way, the outcome of this discussion could well be applicable to > http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_for_access_tags > i.e., what we have so far for school_zone could be generalised to: +1, if we find something more useful than

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Lars Aronsson
John Smith wrote: > For general time based restrictions you can still do it in one > line if you must, without needing to parse variable information > in the key section: > > maxspeed:time=12:00-23:59;tu,th;50 > hh:mm-hh:mm;[dd,dd,dd|dd-dd];speed The second sign in this page http://sv.wikiped

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread John Smith
--- On Fri, 7/8/09, "Marc Schütz" wrote: > Let me rephrase the question: if it is possible to devise a > tagging scheme that is able to model all relevant > restrictions we encounter in reality including school zones > (and I believe it is possible), why do you still want a > seperate tagging sc

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Marc Schütz
> > But that's the point! We need a way of modelling more > > complex cases anyway, so why do you want to special case > > school zones? > > School zones are a special case because they don't operate all year round, > and you need to store school terms in addition so you can calculate if the > sch

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread John Smith
--- On Fri, 7/8/09, "Marc Schütz" wrote: > But that's the point! We need a way of modelling more > complex cases anyway, so why do you want to special case > school zones? School zones are a special case because they don't operate all year round, and you need to store school terms in addition

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Marc Schütz
Original-Nachricht > Datum: Fri, 7 Aug 2009 02:55:05 + (GMT) > Von: John Smith > An: m...@koppenhoefer.com, Roy Wallace > CC: talk@openstreetmap.org > Betreff: Re: [OSM-talk] [RFC] restriction=school_zone (second email) > > --- On Thu, 6/8/0

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread Marc Schütz
> > problem if you insist on not putting values in the key? How > > would you > > say maxspeed is 40 between 7am-9am, 60 between 4pm-7pm, and > > 80 > > otherwise? > > It's going to get very messy very quickly if you are trying to shoe horn > general time limits in with school zones But that's th

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-07 Thread John Smith
--- On Fri, 7/8/09, Roy Wallace wrote: > I don't like the _1 and _2, but I guess you're saying > that's the only I didn't come up with it, it's already being used for other similar things where the same tag appears multiple times. > maxspeed:school_zone=hh:mm-hh:mm[,hh:mm-hh:mm]*;[dd-dd|dd,dd

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread Roy Wallace
On Fri, Aug 7, 2009 at 4:22 PM, John Smith wrote: > It's going to get very messy very quickly if you are trying to shoe horn > general time limits in with school zones, but you could do: > > maxspeed=80 > maxspeed:time_1=school;07:00-09:00,14:30-15:30;mon-fri;40 > maxspeed:time_2=all;16:00-19:00;m

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread John Smith
> But there is an obvious problem: you may want two values > for the same key, e.g. > maxspeed:weather = wet;80 and > maxspeed:weather = snow;30 > > I'm guessing this is not OK? Actually. won't this > often be a You would have to have some sophisticated routing software to know weather i

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread Roy Wallace
On Fri, Aug 7, 2009 at 3:12 PM, John Smith wrote: > maxspeed:school_zone=hh:mm-hh:mm[,hh:mm-hh:mm];speed > This explains what the restriction is, school zone, the times it is in effect > and the reduced speed all in one line. That is much better than the current proposal IMHO, good job. Just to d

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread John Smith
--- On Fri, 7/8/09, Roy Wallace wrote: > Hmm ok, fair enough, you've convinced me - although you'd > probably > want to use maxspeed:time_limited to indicate that the > value is not a > "time", but a full description of a "time-limited" > restriction. It's a limit so stating limited is redundant

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread Roy Wallace
On Fri, Aug 7, 2009 at 2:42 PM, John Smith wrote: > --- On Thu, 6/8/09, Roy Wallace wrote: > >> Without that requirement, it's a one-liner: >> maxspeed[Tu,Th][12:00-24:00] = 50 > > You've gone from school zones to general restrictions. That's right. Sorry if that was unclear. I tried to explain b

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread John Smith
--- On Thu, 6/8/09, Roy Wallace wrote: > Without that requirement, it's a one-liner: > maxspeed[Tu,Th][12:00-24:00] = 50 You've gone from school zones to general restrictions. School zones as signed in Australia are predicable to some extent, they are always mon-fri and only when there isn't

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread Roy Wallace
On Fri, Aug 7, 2009 at 12:55 PM, John Smith wrote: > --- On Thu, 6/8/09, Roy Wallace 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:sc

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread John Smith
--- On Thu, 6/8/09, Roy Wallace 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 _

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread Roy Wallace
On Thu, Aug 6, 2009 at 11:20 PM, Martin Koppenhoefer wrote: > 2009/8/6 Liz : >> On Thu, 6 Aug 2009, Martin Koppenhoefer wrote: >>> there could be >>> maxspeed[08:30-09:30]=40 >>> maxspeed[14:30-15:30]=40 >>> maxspeed[08:30-09:30]:reason=school_zone >>> maxspeed[14:30-15:30]:reason=school_zone ... >

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread Martin Koppenhoefer
2009/8/6 Liz : > On Thu, 6 Aug 2009, Martin Koppenhoefer wrote: >> this doesn't look very familiar to me. Do you know the following? >> http://wiki.openstreetmap.org/wiki/Proposed_features/Conditions_for_access_ >>tags >> http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_fo >

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread John Smith
--- On Thu, 6/8/09, Liz wrote: > Martin, its only 5 days a week and not in school holidays > so how do we expand the tagging to cover the full set of > restrictions? No matter what happens school holidays or the inverse can be mapped to some administrative boundary. Western areas of NSW have

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-06 Thread Liz
On Thu, 6 Aug 2009, Martin Koppenhoefer wrote: > this doesn't look very familiar to me. Do you know the following? > http://wiki.openstreetmap.org/wiki/Proposed_features/Conditions_for_access_ >tags > http://wiki.openstreetmap.org/wiki/Proposed_features/Extended_conditions_fo >r_access_tags > > the

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-05 Thread John Smith
--- On Wed, 5/8/09, Roy Wallace wrote: > Not really John, although "difficult" is subjective... just > extract > whatever is in []'s first, then parse as normal. Having two > different > forms of "time" (i.e. HHMM and HH:MM) seems a bit > unnecessary. There is justification for use both ways.

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-05 Thread John Smith
--- On Wed, 5/8/09, Craig Wallace wrote: > Though the colon is already used for the time syntax for > the > opening_hours key: http://wiki.openstreetmap.org/wiki/Key:opening_hours > That's a fairly well used key, so it makes sense for the > restrictions > time syntax to be consistent. The colo

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-05 Thread John Smith
--- On Wed, 5/8/09, Craig Wallace wrote: > Also, what if you don't know what time the school zone > applies? > Around here, they usually just have a sign with "20 when > lights flash" > or similar. I assume its at typical school times, but how > would I tag that? School signs in several if not

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-05 Thread Craig Wallace
On 06/08/2009 02:02, John Smith wrote: > --- On Wed, 5/8/09, Martin Koppenhoefer wrote: >> this doesn't look very familiar to me. Do you know the >> following? >> http://wiki.openstreetmap.org/wiki/Proposed_features/Conditions_for_access_tags >> http://wiki.openstreetmap.org/wiki/Proposed_features

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-05 Thread John Smith
--- On Wed, 5/8/09, Martin Koppenhoefer wrote: > in the end there will be only one maxspeed at the same > time. I agree, but my point was there could be a combination of restrictions at the same time, but obviously one must take precedence over the others and that will be the trick to this,

Re: [OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-05 Thread Martin Koppenhoefer
2009/8/5 John Smith : > --- On Wed, 5/8/09, Martin Koppenhoefer wrote: > >> but on second glance there are, and they are documented in >> the >> discussion-section: >> http://wiki.openstreetmap.org/wiki/Talk:Proposed_features/Tag:restriction%3Dschool_zone > > The problem with those suggestions is

[OSM-talk] [RFC] restriction=school_zone (second email)

2009-08-04 Thread John Smith
Since proposing this tag combination I've tagged about a dozen schools and at first glance I can't see any problems. http://wiki.openstreetmap.org/wiki/Proposed_features/Tag:restriction%3Dschool_zone ___ talk mailing list talk@openstreetmap.o