Overpass Turbo: why is this way missing from the results

I’m trying to obtain a list of ways with the tourism=guest_house tag in a specific region.

This query returns results as expected:

[out:json][timeout:25];
{{geocodeArea:"Les Preses"}}->.searchArea;
nwr["tourism"="guest_house"](area.searchArea);
out geom;

{{style:
node,way,relation {
  text:name;
}
}}

This query, which searches in a bigger area encompassing that of the previous query, is missing one result: this way.

[out:json][timeout:25];
{{geocodeArea:"La Garrotxa"}}->.searchArea;
nwr["tourism"="guest_house"](area.searchArea);
out geom;

{{style:
node,way,relation {
  text:name;
}
}}

I feel I must be missing something obvious, as the second query should only be a superset of the first one. And whose results would include also all results from the first one. Any insight will be appreciated. Thanks!

1 Like

La Garrotxa | OpenStreetMap finds Relation: ‪Parc Natural de la Zona Volcànica de la Garrotxa‬ (‪4594406‬) | OpenStreetMap

Les Preses | OpenStreetMap finds Relation: ‪les Preses‬ (‪345216‬) | OpenStreetMap

Way: ‪la Cantina‬ (‪1309156351‬) | OpenStreetMap is NOT within first area and is within second

are you sure about this? Which areas you expected to be used?

1 Like

That was it, thanks! The area is defined as “Garrotxa” in OSM. This is the one I was looking for: Relation: ‪Garrotxa‬ (‪2806999‬) | OpenStreetMap

This query now returns the expected results:

[out:json][timeout:25];
{{geocodeArea:"Garrotxa"}}->.searchArea;
nwr["tourism"="guest_house"](area.searchArea);
out geom;

{{style:
node,way,relation {
  text:name;
}
}}
1 Like