Search notes:

Overpass API: make statement

[out:csv(
   num,
   txt
)];

make foo   // <--- the type / if output is xml, it becomes the XML's tag name
     num = 42,
     txt ='Hello world';

out;

TODO

In the following query, u(…) is needed to prevent the func_name() must be called in a context where it can evaluate an element error.
rel(13648941);

make x
  count     = u(count_members()),
  tags      = u(count_tags   ()),
  version   = u(version      ()),
  timestamp = u(timestamp    ()),
  changeset = u(changeset    ()),
  user      = u(user         () + ' (' +
                uid          () +  ')')
;

out;

Misc

make cannot take its values from an input-set.

See also

Overpass API: statements

Index