David<br>Both these queries seem to work ok when I try them.<br><br>The actual URLs I used were:<br>wget <a href="http://osm.bearstech.com/osmxapi/api/0.5/relation[type=*][bbox=-124.0,36.75,-121.0,39.0]">http://osm.bearstech.com/osmxapi/api/0.5/relation[type=*][bbox=-124.0,36.75,-121.0,39.0]</a> which returned a file of 107,839,289 bytes containing 485,694 nodes, 46,128 ways and 1,238 relations.<br>
<br>And: <br>wget <a href="http://osmxapi.hypercube.telascience.org/api/0.5/relation[bbox=-124.0,36.75,-121.0,39.0]">http://osmxapi.hypercube.telascience.org/api/0.5/relation[bbox=-124.0,36.75,-121.0,39.0]</a><br>which returned 108,617,239 bytes containing 489,529 nodes, 46,373 ways and 1,264 relations.<br>
<br>What did you get? Is it possible your results got truncated in some way?<br><br>80n<br> <br><div class="gmail_quote">On Mon, Dec 1, 2008 at 2:59 PM, David Carmean <span dir="ltr"><<a href="mailto:dlc@halibut.com">dlc@halibut.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
The queries that failed were attempts to find all relations of<br>
any type, so .../api/0.5/relation[type=*][bbox=-124.0,36.75,-121.0,39.0]<br>
or .../api/0.5/relation[bbox=-124.0,36.75,-121.0,39.0]<br>
only returned nodes.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Sun, Nov 30, 2008 at 07:34:52PM +0000, 80n wrote:<br>
> David<br>
> I just tested it with /api/0.5/relation[type=route] and the response looked<br>
> ok. Plenty of relation elements.<br>
><br>
> What query did you actually use?<br>
><br>
> 80n<br>
><br>
> On Sun, Nov 30, 2008 at 4:09 PM, David Carmean <<a href="mailto:dlc@halibut.com">dlc@halibut.com</a>> wrote:<br>
><br>
> ><br>
> > I recently ran a XAPI query for relations, which returned only nodes and<br>
> > not the<br>
> > relations themselves. Not very useful, I'd say :)<br>
> ><br>
> > XAPI queries for ways have also been returning associated relations.<br>
> ><br>
> > Any XAPI developers on the list?<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > talk mailing list<br>
> > <a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
> > <a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
> ><br>
</div></div></blockquote></div><br>