Opened 2 years ago

Last modified 2 years ago

#23212 closed defect

Wrong overpass query generated for "key:" — at Version 3

Reported by: gaben Owned by: team
Priority: normal Milestone: 23.11
Component: Core Version:
Keywords: template_report overpass query wizard Cc:

Description (last modified by gaben)

What steps will reproduce the problem?

  1. Open up the Overpass query wizard
  2. Type in name:
  3. Generate the query

What is the expected result?

For key query, it's enough to provide the key without tilde. See Overpass_API/Overpass_QL#Exists

[out:xml][timeout:90][bbox:{{bbox}}];
(
  nwr["name"];
);
(._;>;);
out meta;

What happens instead?

An invalid query generated:

[out:xml][timeout:90][bbox:{{bbox}}];
(
  nwr[~"name"~""];
);
(._;>;);
out meta;

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-09-26 14:10:25 +0200 (Tue, 26 Sep 2023)
Build-Date:2023-09-27 01:31:02
Revision:18846
Relative:URL: ^/trunk

Last errors/warnings:- 00079.440 E: Belső kiszolgálóhiba - <html>Az OSM szerver<br>'https://api.openstreetmap.org/api/0.6/'<br>belső szerverhibát jelentett.<br>Ez valószínűleg átmeneti probléma. Kérlek, próbáld újra később.</html>

Change History (3)

comment:1 by gaben, 2 years ago

Description: modified (diff)

comment:2 by gaben, 2 years ago

Description: modified (diff)

comment:3 by gaben, 2 years ago

Description: modified (diff)

add wiki link

Note: See TracTickets for help on using tickets.