OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.


A fix has been applied to the login system for the forums - if you have trouble logging in please contact with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2017-06-23 13:33:50

Registered: 2012-12-15
Posts: 118

[JOSM] OverpassTurbo: "' reported bad request"


I wanted to query OSM for all the contraflow cycle lanes with the following query which does work when used in OverpassTurbo, but for some reason, JOSM ain't happy:

File > Download from Overpass API:

out body;
out skel qt


Download: "Bad request: The OSM server "' reported a bad request."

Any idea why?

Thank you.


#2 2017-07-01 16:39:16

Registered: 2010-11-06
Posts: 1,297

Re: [JOSM] OverpassTurbo: "' reported bad request"

JOSM doesn't understand JSON output format ("[out:json]"), as well as the "out body; >; out skel qt;" stuff at the end. Don't just copy and paste your query in overpass turbo to JOSM without prior adjustments, it will just fail for those reasons.

If you don't have any idea what this all means, I'd recommend to use "Export -> JOSM" function in overpass turbo, and have the query automatically repaired. It assumes that your JOSM is already running and accepts remote calls.

A working query will look as follows:

Last edited by mmd (2017-07-01 16:41:26)


Board footer

Powered by FluxBB