[OSM-dev] API - modifying tags?

OJW streetmap at blibbleblobble.co.uk
Thu Jul 19 22:50:21 BST 2007


Hi. I'm just trying to modify one tag in an existing node

Using HTTP PUT to 

http://api.openstreetmap.org/api/0.4/node/32340161

Sending data of:

<?xml version="1.0" encoding="UTF-8"?><osm version="0.4" generator="Some 
Bot"><node id="32340161" lat="50.670308" lon="-1.129516"><tag k="test" 
v="1234" /></node></osm>

It's using a valid OSM password to upload.  Source code is adapted from 
something which I know used to work (when creating new nodes on API 0.3)

Any ideas why it might not be doing anything?


p.s. it would be nice if you could edit just one tag in a node without having 
to upload all the existing tags too (less chance of overwriting data if 
someone else changes other attributes at the same time).  Someone suggested 
an API of /node/12345/tags




More information about the dev mailing list