[openstreetmap/openstreetmap-website] Increase may key and value max length (#2025)

Yves Pratter notifications at github.com
Sun Dec 29 14:35:07 UTC 2019


@woodpeck 
> it serves as a reminder for people that tags are supposed to be human-readable […]
> An opening hours string longer than 255 characters is practically impossible to understand or edit without specialist software

opening hours string are difficult to understand for humans 😉 
But softwares like OsmAnd display it in a human friendly form (or at least just say open or close).
For inscriptions, the tool is a simple editor with a copy and paste to OSM editor.

> If opening hours become more complicated than 255 characters then I would prefer it to just revert to a human-readable string that describes the issue, which is very likely to fit in 255 characters.

We found a case where a public swimming pool have 5 different timetables per week, and 7 for school holidays.
The total length was near 255 characters, but bigger.

```
SH Mo,Fr 12:00-20:00;
SH Tu 12:00-21:00;
SH We 10:00-18:00;
SH Th 12:00-20:15;
SH Sa,Su 10:00-13:00,15:00-18:00;

Mo 12:00-14:00,17:00-20:00;
Tu 11:45-14:00,16:30-21:00;
We 11:30-13:00,15:00-18:00;
Th 11:45-14:00,16:30-20:00;
Fr 11:45-14:00,17:00-20:00
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2025#issuecomment-569511074
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191229/4996373c/attachment.html>


More information about the rails-dev mailing list