Inconsistent selection of buildings in landuse relations (bug?)

My objective: select all buildings within residential landuse ways and relations in a municipality, as follows (query below):

  1. Select municipality by geocodeArea;
  2. Select landuse=residential ways and relations, with note tag;
  3. Show outlines of areas found in the step 2 on map;
  4. Select buildings (ways and relations) within the areas found in the step 2;
  5. Show selected buildings on map.

Results:

  • The query found successfully all landuse ways and relations as intended.
  • 100% of buildings are found if within ways, but the query skips about 3 out of 4 relations, even if the relation was found. I don’t know why. The relations are closed.

The query: overpass turbo

To help the debugging, the ways are painted blue, and the relations in red.

Any help is appreciated,

Igor

6 posts - 3 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/inconsistent-selection-of-buildings-in-landuse-relations-bug/9223