﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10893	How to make Overpass query	bastiK	team	"I'm having problems to query data with the ''Download from Overpass API ...'' feature.

The request:
{{{
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“amenity=restaurant”
*/
[timeout:25];
// gather results
(
  // query part for: “amenity=restaurant”
  node[""amenity""=""restaurant""]({{bbox}});
  way[""amenity""=""restaurant""]({{bbox}});
  relation[""amenity""=""restaurant""]({{bbox}});
);
// print results
out meta;
}}}

The result is ""The OSM server 'overpass-api.de' reported a bad request."". For other queries I get no error, but also no data.

It is possible to export the raw data in overpass turbo and open the resulting file in JOSM.




{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-12-27 04:29:30
Last Changed Author: Don-vip
Revision: 7896
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-12-27 05:25:53 +0100 (Sat, 27 Dec 2014)
Last Changed Rev: 7896

Identification: JOSM/1.5 (7896 en) Linux Ubuntu 14.04.1 LTS
Memory Usage: 464 MB / 871 MB (148 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u71-2.5.3-0ubuntu0.14.04.1
VM arguments: [-Djosm.restart=true, -Djosm.home=/home/paul/.josm-latest, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
- mirrored_download (30762)

"	defect	closed	normal	15.09	Core		fixed	template_report, mirrored_download	
