OvertureMaps / OvertureMaps/schema
Transportation theme access restrictions "during" as STRUCT
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 213
- Forks
- 22
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 31
Description
Discussed in https://github.com/OvertureMaps/schema/discussions/228
Originally posted by BruceHarold June 28, 2024
At 2024-06-13-beta.1 the during column in access_restrictions is a varchar with uncontrolled data in it (my observation).
For example 'Mo-Fr08:45-09:3015:00-15:45'. for segment id 084194adffffffff046bf1ffa89acc2c.
To unpack this into very useful time intervals can it me made a struct, like this? (haven't checked for typos)
{"Mon":[["8:45","9:30"],["15:00","15:45"]],"Tue":[["8:45","9:30"],["15:00","15:45"]],"Wed":[["8:45","9:30"],["15:00","15:45"]],"Thu":[["8:45","9:30"],["15:00","15:45"]],"Fri":[["8:45","9:30"],["15:00","15:45"]]}
Time data is high value. Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.