Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offnungszeiten auswerten und verwenden (jetzt gerade offen-feature) #24

Open
stefangrotz opened this issue May 24, 2018 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@stefangrotz
Copy link
Member

stefangrotz commented May 24, 2018

Ähnlich wie bei wo-ist-markt.de könnte man z.B. eine "jetzt gerade geöffnet" funktion hinzufügen.

Diese Bibliothek könnte dabei hilfreich sein:
https://github.com/opening-hours/opening_hours.js

Doku:
https://wiki.openstreetmap.org/wiki/Key:opening_hours

@stefangrotz stefangrotz added the enhancement New feature or request label May 25, 2018
@stefangrotz stefangrotz changed the title offnungszeiten auswerten und verwenden offnungszeiten auswerten und verwenden (jetzt gerade offen-feature) May 27, 2018
@stefangrotz
Copy link
Member Author

stefangrotz commented Jun 5, 2018

354ac4d und folgende fügen einen roten bzw. grünen Text zu den öffnungszeiten in den Popups hinzu, wenn eine Interpretation möglich ist.

Bei vielen Märkten funktioniert dass nicht weil "PH" vorhkommt und die Bibliothek nicht weiß, was das bedeutet.

Todo: recherche

@stefangrotz
Copy link
Member Author

Momentan scheitert das Feature daran, dass manche Öffnungszeiten an die Schulferien gebunden sind und man deswegen das Bundesland kennen muss.

Vielleicht könnte diese Bibliothek das im Import-Script hinzufügen:
https://github.com/hlaw/codegrid-js

Diskussion auf forum.openstreetmap.org: https://forum.openstreetmap.org/viewtopic.php?id=62958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant