How do I use Overpass to retrieve just a list matching objects?

Here is an example query that’s close to what I’m looking for:

[date:"2023-05-29T00:00:00Z"];
way["shop"="fireplace"]({{bbox}});
out;

I get the data, but with all the tags on those objects. I’m looking for just the objects (in any format) - in this case just a list of way IDs, without the tags. There’s probably some variant of “out” that does this but the OSM wiki is unhelpful.

2 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/how-do-i-use-overpass-to-retrieve-just-a-list-matching-objects/105149