[Openstreetmap] Problem with tags in server

SteveC steve at asklater.com
Fri Nov 25 20:46:40 GMT 2005


* @ 25/11/05 08:42:47 PM tpe at ida.liu.se wrote:
> 
> > You're going to have to explain more... What the code does exactly and
> > so on.
> > 
> > The node (276025) was created, then updated with a tag, then deleted a
> > couple of hourse later. Similarly with the other node.
> 
> Yes, I tested the new webbcite and used the webb interface to delete
> some of the nodes I had created.
> 
> > 
> > Two things might help: Tags arn't persistent. If you update a node, you
> > need to submit its tags too, otherwise it assumes you want to delete the
> > tags. Also, add a semi-colon on the end of your tag(s). eg: 'name=foo;'
> > not 'name=foo'
> 
> If I created the node with tag '' than the updates follwing this
> sometimes failed to update the tag field.  I checked for 200 OK so
> this should not be an issue If I created the node with some tag value
> it seems to work more robustly and updates workd all the time.

Hmmm. Well if you have some repeatable behaviour I can look at it.
 
> If this does not ring a bell tell me and I will test it again and see
> if I can provide more information.
> 
> Is the semi-colon mandatory?  Of course can add it but it will
> probably make the parsing of the string more unnatural.  It seems to
> work now without semi-colon.

It will do, but then it might not get parsed by other editors...

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the talk mailing list