[OSM-talk] User umehlig and some really nasty edits

Tom Hughes tom at compton.nu
Mon Feb 18 21:42:40 GMT 2008


In message <47B9FAC7.30101 at poczta.fm>
          Lukasz Stelmach <stlman at poczta.fm> wrote:

> Tom Hughes wrote:
> 
> > Indeed. I think the problem is that he is reading a page that
> > documents the HTTP API and expecting it to tell him the format
> > of a JOSM change file.
> 
> No, I was reading the page about HTTP API *and* OSM format which reads
> 
>     For each of the above-mentioned object types, the API supports
>     these CRUD operations (replace <objtype> by one of node, way,
>     relation; ***replace <id> by the id of the object in
>     question***):
> 
> And I ask: what is the value of the `id' attribute of the object in
> question when the ID hasn't been assigned yet? Today I know the
> answer but I am afraid anyone who seeks the answer to that question
> will focus on this paragraph trying to figure out where to get a new
> ID from. The DTD saing `id' is required makes this desire even
> stronger while giving no hint at all.

The row of the table that covers creation of new objects (the first
row) does not have an <id> marker to replace, so the question does
not arise.

You are trying to extend the meaning of that paragraph, which covers
the RESTful URLs to the OSM file format as use by JOSM which is not
something that page describes.

All that page describes is the URLs you should call and the XML you
should pass to them and/or expect to get back from them.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the talk mailing list