JOSM/Overpass relations question

Hi there,

How does one use Overpass queries to download relations that have “admin_level=2”, without downloading its members?

I ask this because some of the 296 relations with said key have so many members that it could slow down JOSM. Obviously, I am downloading the relations for analysis, and not to edit them.

  • Use the wizard with
type:relation and admin_level=2 global
  • Click Build query
  • remove the line
(._;>;);

(this clause would tell overpass api to recurse down to download all members)

  • click download

I think in this case you can easily skip the wizard, as the Overpass QL query is even shorter:


rel[admin_level=2];out;