[OSM-dev] 0.5 API: /api/0.5/user/preferences, values truncated to 256 chars

Matt Amos zerebubuth at gmail.com
Tue Nov 25 18:42:24 GMT 2008


On Tue, Nov 25, 2008 at 6:34 PM, Stefan de Konink <stefan at konink.de> wrote:
> Matt Amos wrote:
>>
>> do you think it would be motivating for all the
>> volunteers working on the editor and server code if we set a deadline?
>
> I think so; it would make people live to a date, and see something big
> happening. Would not only be good for the community not only for developers.

i think the problem might be *agreeing* about the deadline in the
first place :-)

> The point was that I had limited it to 255 too, until I saw my inserts
> failing. So that could be two things, XML encoding problems, or something
> else. Never the less 255 seems enough to me too.

does monetDB treat strings as byte sequences?

>> the exception is the note: key, which i've quite often wished were
>> longer. we now have things like openstreetbugs for some of these,
>> though.
>
> Just introduce an extra table; that stores the <note></note> field?

ah, but that would require "blessing" the note tag, or stopping it
being a tag. i think a better solution is an separate (or at least
independent) database like openstreetbugs which is designed for
note-taking and has an API that editors can access. maybe
openstreetnotes?

cheers,

matt




More information about the dev mailing list