[OSM-dev] Can tag values be longer than 255 chars?
Toby Murray
toby.murray at gmail.com
Thu Apr 5 04:45:32 BST 2012
On Wed, Apr 4, 2012 at 10:10 AM, Morten Olsen Lysgaard
<morten at lysgaard.no> wrote:
> I'm running an instance of the OSM stack. I'd like to have some key values
> longer than 255 chars. Is this a hardcoded limit. Can it be lifted? Does it
> need a migration?
>
> As always, thanks for the help! =)
It is part of the database schema:
https://github.com/openstreetmap/openstreetmap-website/blob/master/db/structure.sql
Look specifically at the create statement for node_tags, way_tags and
relation_tags tables.
I imagine it might also be encoded in rails somewhere too in order to
check uploads and send error messages back to the client. Not sure
about that though.
Toby
More information about the dev
mailing list