Opened 11 years ago

Closed 8 years ago

#1839 closed defect (wontfix)

Error in bounding box constraints for XAPI relation queries

Reported by: Robert Whittaker Owned by: 80n80n@…
Priority: major Milestone:
Component: xapi Version:
Keywords: Cc:


I've been playing with the OSM XAPI, trying to extract a list of all the relations for bus routes in Oxford, UK.

I've been using[route=bus][bbox=-1.33827,51.70745,-1.16867,51.79290] and more recently[route=bus][bbox=-1.33827,51.70745,-1.16867,51.79290] but both give odd results.

What's returned seems to include a lot (probably all) of the routes I was expecting, but also many other relations that don't appear to be anywhere near the specified bounding box.

For instance, the first call above also returns and and

These are no-where near the bounding box specified in the XAPI call:

Change History (3)

comment:1 Changed 11 years ago by Robert Whittaker

Summary: Error in bounding box contraints for XAPI relation queriesError in bounding box constraints for XAPI relation queries

Just to add that new erroneous relations seem to be appearing in answer to the above API calls. The new appearances are not always new relations, but their appearence seems to be triggered by them being editing by someone.

comment:2 Changed 11 years ago by Mikado

I'm having the same problem with relations of "restriction" type. At some point it seemed that errorneous relations are returned along with the requested, but now there are some valid relations outside the bbox in the output.

comment:3 Changed 8 years ago by pnorman

Resolution: wontfix
Status: newclosed

Closing as this relates to the old XAPI which is no longer maintained. The new jxapi can be found at and issues should be reported there.

Note: See TracTickets for help on using tickets.