Search notes:
Overpass API: settings
Overpass settings set optional global variables.
These settings need to be set as first
statement of an Overpass API query.
Settings declarations are enclosed in brackets []. A colon (:
) separates the setting name from its value.
The settings section is terminated with a semicolon (
;
).
Multiple settings are not separated by anythin.
The setting statement (as all other statements) must be terminated with a semicolon (;
).
Settings include:
bbox | |
out | Specifies the format of the returned data. The out setting is unrelated to the out statement. |
timeout | Duration in seconds after which a query is terminated? |
date | |
diff | |
adiff | |
maxsize | The maximum size of memory (bytes?) allowed to process the query by the server. |
Multiple settings
Multiple settings are not separated by anything.
The following example specifies an
out
and a
bbox
setting:
[out : csv(::id, "name", "name:de";false; '|')]
[bbox : {{bbox}} ];
nw [amenity=restaurant];
out;
date
[date:"2015-10-28T19:20:00Z"]
…
diff
[diff:"2012-09-14T15:00:00Z"]
[diff:
"2012-09-14T15:00:00Z",
"2012-09-21T15:00:00Z"
]