I am working with OSM through the Overpass API and/or the QuikcOSM plugin in QGIS. I am wondering if it is possible to select the tags to be downloaded as csv or GeoJSON or KML data.
To make an example, this query will retrieve all the features labelled as 'hospital':
[out:json][timeout:25];
// gather results
nwr["building"="hospital"]({{bbox}});
// print results
out geom;
but then I want to export only some given tags (let's say "full_id" and "name"). Note that I am not asking to filter the features by tag; the query should include all the existent features, it should only limit the number of tags. This can be very useful in case of large datsets that end in a huge number of attributes when managed in GIS.
There is a similar question here, but is focused only on CSV and I tried to add other tags in addition to 'name' and it did not work.