[OSM-dev] Question: Tags key and value maximum length

Lars Francke lars.francke at gmail.com
Tue Apr 21 11:36:04 BST 2009


Hi,

I just found the following line in the ruby code for the tags:

"validates_length_of :k, :v, :maximum => 255, :allow_blank => true"

Does this mean that Key and Value may only be 255 characters long? And
that both may be empty? I don't know Rails very well but it sure seems
so

Lars




More information about the dev mailing list