[OSM-dev] Limit on the number of tags on a node

Dave Stubbs osm.list at randomjunk.co.uk
Wed Jan 14 12:35:01 GMT 2009


2009/1/13 Neil Penman <ianaf4you at yahoo.com>:
> Hmm, trying my post again with a message created from scratch!  I didn't
> realise I couldn't just reply all to another message, change the subject and
> delete the old text!  Its a bad habit anyway so time I stopped it.
>
> I get a 400 error when I try and upload nodes with more than 50 tags and
> about 4,300 bytes.  This is to a test database, not
> www.openstreetmap.org/api.  Is anyone aware of any limitations?
>


API 0.5 concatenates node tags as a single text column for storage.
This means that there isn't actually a limit on the number, but if the
total size goes above the size of a database text column then there
may be a problem. I think that's 2^16 bytes on mysql, so it shouldn't
be causing you a problem.

I don't know of any limits on way tags other than a 255 char limit on
each key and value.

Dave




More information about the dev mailing list