<div class="gmail_quote">On Fri, Mar 12, 2010 at 11:38 PM, Jan Tappenbeck <span dir="ltr"><<a href="mailto:osm@tappenbeck.net">osm@tappenbeck.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
Am 12.03.2010 12:30, schrieb Brett Henderson:
<div class="im"><blockquote type="cite">You need to check both of your OSM files downloaded from
XAPI.  The first one contains the full relation details as you expect. 
The second one contains an empty relation.  Both have the same version
number.<br>
  <br>
The Osmosis <b>--merge</b> task is intentionally simple and doesn't
alter relation contents in any way.  In your case it is seeing that the
relation exists in both inputs, it determines that both have the same
version number, and picks the second one.  The second one is written to
the result file.<br>
  <br>
The real question to ask is "Why does XAPI return an empty relation for
my second query?".  But that will have to be asked on the dev mailing
list ;-)<br>
  <br>
</blockquote></div>
HI !<br>
<br>
but i did not understand your new question ! <br>
<br>
* when you download by <a>http://xapi.openstreetmap.org/api/0.6/node[memorial:type=stolperstein][bbox=5.5,47.4,15.0,55.3]</a>
then there are only NODES - RIGHT !<br>
<br>
* when you download by <a>http://xapi.openstreetmap.org/api/0.6/node[memorial:type=stolperstein][bbox=5.5,47.4,15.0,55.3]</a>
then there are ALL RELATIONS-Members (even Nodes) and the RELATION
defintion.<br></div></blockquote><div><br>Both of the above URLs are identical.  I think you meant:<br><br>URL1 - <a href="http://xapi.openstreetmap.org/api/0.6/node%5Bmemorial:type=stolperstein%5D%5Bbbox=5.5,47.4,15.0,55.3%5D" target="_blank">http://xapi.openstreetmap.org/api/0.6/node[memorial:type=stolperstein][bbox=5.5,47.4,15.0,55.3]</a><br>

<br>
and<br><br>URL2 - <a href="http://xapi.openstreetmap.org/api/0.6/relation%5Bname=Stolpersteine%5D%5Bbbox=5.5,47.4,15.0,55.3%5D" target="_blank">http://xapi.openstreetmap.org/api/0.6/relation[name=Stolpersteine][bbox=5.5,47.4,15.0,55.3]</a><br>
<br>Unless I'm mistaken, URL1 returns a file containing the following entry:<br><relation id='407359' user='Netzwolf' uid='32786' timestamp='2010-03-05T21:26:43Z' version='75' changeset='4044847'><br>
  </relation><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
<br>
ONLY the MERGE file include the RELATION-Definition by ONE LINE !!!! -
so i did not see a Problem by XAPI. OSMOSIS lose the relation-MEMBERS
-> OSMOSIS-Question !<br></div></blockquote><div><br></div></div>Can you please open your two OSM files and check them before you add more !!!!!!'s to your emails ;-)<br><br>Cheers,<br>Brett<br><br>