Tom Hughes wrote:
In message <[EMAIL PROTECTED]>
Lukasz Stelmach <[EMAIL PROTECTED]> 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.
But the DTDs on the page require `id'.
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.
But the JOSM file format is just an extension of the format
described on the page. When I mentioned sniffing JOSM I meant
sniffing the transmiton over the wire which uses the format
described on the page.
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.
Let me repeat onece more:
* the DTDs say IDs are *required*
* no paragraph or a single sentence says what values to put in the
XML for objects we are creating.
--
Było mi bardzo miło. Czwarta pospolita klęska, [...]
>Łukasz< Już nie katolicka lecz złodziejska. (c)PP
----------------------------------------------------------------------
Masz ostatnia szanse !
Sprawdz >>> http://link.interia.pl/f1d02
begin:vcard
fn;quoted-printable:=C5=81ukasz Stelmach
n;quoted-printable:Stelmach;=C5=81ukasz
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard
_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk