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

2009-01-14 Thread Dave Stubbs
2009/1/13 Neil Penman ianaf4...@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

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-01-13 Thread Neil Penman
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?

Regards

Neil Penman



  Stay connected to the people that matter most with a smarter inbox. Take 
a look http://au.docs.yahoo.com/mail/smarterinbox___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev