[Openstreetmap] Problem with tags in server
Tommy Persson
tpe at ida.liu.se
Fri Nov 25 20:42:47 GMT 2005
> 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.
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.
/Tommy
More information about the talk
mailing list