You may be right that using week numbers is a better way of encoding this
information.

This is an inherent issue with using the SH qualifier in opening hours: the
school holidays can differ even in the same LA sometimes with private
schools and academies which means unless I hardcode in the week numbers as
you suggest it will be practically impossible to expect a parser to deal
with this.

I was not sure if it was OK to write We,Sa,Su,PH or whether these needed to
be separated into two separate statements We,Sa,Su and PH.

Regards
Jack

On 25 July 2016 at 20:22, Amaroussi (OpenStreetMap) <[email protected]> wrote:

> What about “Apr 01-Oct 31 We,Sa,Su,PH 14:00-17:00; Jul 01-Sep 30 SH
> 14:00-17:00”?
>
> Source:
> http://openingh.openstreetmap.de/evaluation_tool/?EXP=Apr%2001-Oct%2031%20We%2CSa%2CSu%2CPH%2014%3A00-17%3A00%3B%20Jul%2001-Sep%2030%20SH%2014%3A00-17%3A00&DATE=1467659340000&lat=48.7769&lon=9.1844&mode=0
> (sorry, cryptic link).
>
> If the local authority determines summer holidays by weeks, then use:
>
> “Apr 01-Oct 31 We,Sa,Su,PH 14:00-17:00; week xx-yy 14:00-17:00”
>
> — Amaroussi (it’s too darn hot in London).
>
> On 25 Jul 2016, at 20:10, Jack Page <[email protected]> wrote:
>
> That seems reasonable to me.
>
> It is a shame there is no official implementation for this but I guess
> holidays aren't parsed that often anyway and this is quite a niche case to
> warrant changing the scheme.
>
> I will implement this for now and yes I will probably extend summer to
> June and September (I don't think there are any half term holidays in those
> months so it should only capture the summer holiday).
>
> Regards
> Jack
>
> On 25 July 2016 at 20:05, Marc Gemis <[email protected]> wrote:
>
>> My thoughts:
>>
>> > Is there a way to specify only bank holidays between April and October
>> > (rather than every bank holiday at once)?
>>
>> Apr-Oct PH 14:00-17:00
>>
>> > Is there a way to specify only Summer school holidays (rather than all
>> > school holidays at once)?
>>
>> Jul-Aug SH 14:00-17:00
>>
>> (Perhaps you have to extend the period here for summer, e.g.  include
>> June and/or Sep)
>>
>
> _______________________________________________
> Talk-GB mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
>
> _______________________________________________
> Talk-GB mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
_______________________________________________
Talk-GB mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-gb

Reply via email to