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

Missing building in is_in response (closed way) #634

Closed mmd-osm closed 2 years ago

mmd-osm commented 2 years ago

I'm testing //dev.overpass-api.de/api_new_feat/ with the following way:

way(300882472)(if:is_closed());
out geom ;
out center ids;

-> Way is closed, center point within building:

crt

When I try the same building using is_in, I get an empty response, although I would expect to see way 300882472 in the response.

is_in(51.267507, 7.1633646 );
out geom;
is_in(51.26752883362288,7.163239493966102);
out geom;

Other close-by buildings seem to work ok using the following query:

is_in({{center}});
out geom;
drolbr commented 2 years ago

Thank you for reporting the problem. Fixed in d87bd59fe08c651c499fe7640fc10a2c437a0f1a