Opened 7 years ago

Closed 7 years ago

#8825 closed enhancement (fixed)

coordinates in XAPI query leads to "Bad request"

Reported by: skyper Owned by: roland.olbricht
Priority: major Milestone:
Component: Plugin mirrored_download Version:
Keywords: coordinates XAPI Cc:


I did enter


and got a "Bad request" error message as respond.

bad request error message


  1. allow coordinates in the query by overriding the selected bounding box.
  2. give some more info on the error message as the help button only leads to the error message page where this message is even not mentioned.


Repository Root:
Build-Date: 2013-06-26 01:35:20
Last Changed Author: akks
Revision: 6023
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2013-06-25 14:27:11 +0200 (Tue, 25 Jun 2013)
Last Changed Rev: 6023

Identification: JOSM/1.5 (6023 en) Linux Debian GNU/Linux 7.1 (wheezy)
Memory Usage: 171 MB / 592 MB (87 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (29435)
Plugin: conflation (0.1.6)
Plugin: jts (29613)
Plugin: mirrored_download (29643)
Plugin: openstreetbugs (29435)
Plugin: reverter (29663)
Plugin: undelete (29555)
Plugin: utilsplugin2 (29672)
Plugin: wikipedia (29523)

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Don-vip

Indeed, the URL is badly built in that case:

GET*%5Bbbox%3D1.477586%2C43.615184%2C1.4817059%2C43.6179803%5D%5B%40meta%5D%5Bgluten_free%3D*%5D%5Bbbox%3D-180%2C-90%2C180%2C90%5D%5B%40meta%5D ResponseCode=400, Error Body=<Error in [*[bbox=1.477586,43.615184,1.4817059,43.6179803][@meta][gluten_free=*][bbox=-180,-90,180,90][@meta]]:
Error: At most one bbox allowed.>
	at mirrored_download.MirroredDownloadAction$MirroredDownloadReader.parseOsm(
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.parseDataSet(
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.realRun(

comment:2 Changed 7 years ago by simon04

Resolution: fixed
Status: newclosed

Fixed in [o30106], [o30107].

Btw: [o29814] is related (for Overpass query).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain roland.olbricht.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.