GSoC 2021 Final Report for OpeningHoursEvaluator
Posted by goodudetheboy on 17 August 2021 in English.Introduction
Hi everyone! As GSoC 2021 is coming to a close, I am writing this diary entry as a final report on the progress of my GSoC project, the OpeningHoursEvaluator, in the second period of GSoC.
Previous entries
Project Summary
An evaluator for opening hours tag according to OSM opening hours specification.
Second Period’s Summary
Just to recap, the evaluator from the first period supports almost all the syntaxes defined by the specifications, ranging from something as small as time and a wider range such as year. Building from my previous progress, I have added geocoding to the evaluator, for use in calculation of variable time such as dawn, dusk, sunrise, sunset. I have also added support for holiday data for the corresponding opening hours tag PH and SH, which currently supports 168 countries. Combined with my progress in the first period, the current evaluator now supports evaluation of all the syntax defined by the grammar, and is ready for use in production.
Source code
GitHub repository: https://github.com/goodudetheboy/OpeningHoursEvaluator