This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to adjust opening hour for POI in iD

0

Hi,

is there some way that I can enter opening hours for stores, coffe shops, etc - manualy. I can only select from predefined working hours but it is not corect most of the time (some stores in my country work even in two shifts).

asked 31 Jul '17, 13:31

Smajser's gravatar image

Smajser
51448
accept rate: 0%

edited 31 Jul '17, 18:11

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701


One Answer:

4

In the web editor (iD) you can click in the text box and enter any value you like. There is a drop down list with common values, but that is just for convenience.

If you are using some other app you'd have to explain more to see if there is a way to enter your own values.

YoHours or this evaluation tool can be quite helpful getting an entry into the correct format. The value can then be pasted into the OpenStreetMap editor.

answered 31 Jul '17, 14:06

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

edited 31 Jul '17, 18:30

Thanks for fast reply.

Let`s see if I am getting this correctly.

I open YoHours, mark correct working time and then copy "opening_hours=" field, and paste it in "opening_hours=" field in POI?

(31 Jul '17, 14:22) Smajser

Yes, that should work fine.

(31 Jul '17, 14:32) maxerickson

Hi, can you explain what "YoHours" is here? Best Regards, Andy

(31 Jul '17, 17:01) SomeoneElse ♦
2

It's a webpage/javascript gadget for creating opening_hours values: http://projets.pavie.info/yohours/

There's a long open iD issue for maybe adding a similar gui: https://github.com/openstreetmap/iD/issues/974

(31 Jul '17, 18:01) maxerickson

Thank you very much. Works perfectly.

(06 Aug '17, 10:28) Smajser

Source code available on GitHub .