[OSM-talk] XAPI relations query returns only nodes

David Carmean dlc at halibut.com
Mon Dec 1 14:59:02 GMT 2008


The queries that failed were attempts to find all relations of 
any type, so .../api/0.5/relation[type=*][bbox=-124.0,36.75,-121.0,39.0]
or .../api/0.5/relation[bbox=-124.0,36.75,-121.0,39.0] 
only returned nodes.



On Sun, Nov 30, 2008 at 07:34:52PM +0000, 80n wrote:
> David
> I just tested it with /api/0.5/relation[type=route] and the response looked
> ok.  Plenty of relation elements.
> 
> What query did you actually use?
> 
> 80n
> 
> On Sun, Nov 30, 2008 at 4:09 PM, David Carmean <dlc at halibut.com> wrote:
> 
> >
> > I recently ran a XAPI query for relations, which returned only nodes and
> > not the
> > relations themselves.  Not very useful, I'd say :)
> >
> > XAPI queries for ways have also been returning associated relations.
> >
> > Any XAPI developers on the list?
> >
> >
> > _______________________________________________
> > talk mailing list
> > talk at openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/talk
> >




More information about the talk mailing list