[Openstreetmap] Keyval... feature request
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Wed Nov 9 09:51:58 GMT 2005
Hello Steve,
Sorry to follow-up my own message but I can now add extra info and have a
feature request...
>Looks good...
>Notice that the newnode.rb and newsegment.rb don't seem to do anything
with
>the 'tags' attribute. Does this work at the moment?
>Thanks,
>Nick
Managed to write a cURL program to "put" osm-format nodes to the server. It
worked, but I tried specifying the keyval (tags='name:Bloggs Street') and
it wasn't taken up (requesting the node later resulted in a blank tags
attribute).
Also I have a feature request.... I had a go at "put"ting multiple nodes.
It worked, but the response from the newnode script (i.e. the IDs assigned
to the node) was all on one line.
I would like to call the API from osm-editor to add nodes and segments to
OSM. The way I am intending to do this is as follows:
PUT all the nodes in a track to OSM
Receive back the assigned IDs
Use the assigned IDs to construct segments within osm-editor
PUT the resulting segments to OSM
However this will be much easier (from a parsing the IDs point of view) if
each ID sent back from newnode (if you PUT multiple nodes) is on a separate
line.
Anyway... thanks a lot for doing the OSM format and the keyval, can really
work on making osm-editor and freemap hook up to osm now :-)
Nick
_______________________________________________
Openstreetmap mailing list
Openstreetmap at vr.ucl.ac.uk
http://bat.vr.ucl.ac.uk/cgi-bin/mailman/listinfo/openstreetmap
More information about the talk
mailing list