On Tuesday, July 19, 2011 10:42:06 AM UTC-5, Renaud MICHEL wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On mardi 19 juillet 2011 at 00:54, Jorge Gustavo wrote :<br>> I remove "my" orphaned relations, using JOSM.<br>> 1) wget <br>> <a href="http://jxapi.openstreetmap.org/xapi/api/0.6/relation%5Bboundary=administrat" target="_blank">http://jxapi.openstreetmap.<wbr>org/xapi/api/0.6/relation[<wbr>boundary=administrat</a><br>> ive][@uid=193530]  -O old_relation_boundary_jgr.osm<br>> 2) JOSM -> Open -> old_relation_boundary_jgr.osm<p>No need to download each relation manually before opening in JOSM, JOSM can <br>download an object by ID (type Ctrl-Shift-O, or from the File menu), and <br>recent versions of JOSM even accept a list of IDs to download them all at <br>once.</p></blockquote><div>That query downloads all relations tagged with boundary=administrative and with a specific user id, not a single relation.<br></div><div><br></div><div>To retrieve a single relation use something like http://jxapi.openstreetmap.org/xapi/api/0.6/relation/123456</div>