drolbr / Overpass-API

A database engine to query the OpenStreetMap data.
http://overpass-api.de
GNU Affero General Public License v3.0
692 stars 90 forks source link

0.7.58: Query returns empty result on overpass-api.de only #667

Closed mmd-osm closed 2 years ago

mmd-osm commented 2 years ago

The following query returns an empty result on overpass-api.de (which runs on 0.7.58 atm). Expected result would be around 1900 relations (confirmed on other public instances, such as kumi).

[bbox:50.819818262156545,6.330871582031249,51.70320428462806,7.2564697265625];
rel[type=multipolygon](if:count_by_role("outer") == count_members(ways) && count_by_role("outer") > 0 && count_members() == count_members(ways));
out tags;
drolbr commented 2 years ago

Fixed in 2b5354b14bd520d6cdefea30d2f70c9be4b9cf23

Thank you for pointing me to this problem.

mmd-osm commented 2 years ago

Thank you for the quick fix. I'm happy to confirm that the issue no longer occurs.