[openstreetmap/openstreetmap-website] Add tag key and value max length to capabilities API call (#1593)

Simon Poole notifications at github.com
Wed Jul 26 22:52:47 UTC 2017

@smsm1 even if the value never changes there is (well in every programming language that I'm reasonably fluent in, which doesn't include rails) a programming style issue in that there are numerous references to 255 sprinkled around the code instead of it being a constant.

In any case I've documented the limit now: http://wiki.openstreetmap.org/wiki/API_v0.6#Maximum_string_lengths and while 255 would seem to be shortish for some of the strings (changeset tags at least), if nobody feels particularly strong about the issue, there is no point in undertaking the effort.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170726/18c84b7f/attachment.html>

More information about the rails-dev mailing list