[OSM-talk] User umehlig and some really nasty edits
Lukasz Stelmach
stlman at poczta.fm
Mon Feb 18 23:23:17 GMT 2008
Tom Hughes wrote:
> 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.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stlman.vcf
Type: text/x-vcard
Size: 176 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080219/58009b7f/attachment.vcf>
More information about the talk
mailing list