Search notes:

Overpass Turbo extension for the Overpass API: {{geocode …}}

{{geocodeArea:…}}

The following query searches for archaelogical sites (historic=archaeological_site) his in the Canton of Zurich (CH-ZH):
{{geocodeArea: CH-ZH }};

nw[historic=archaeological_site](area);

out geom;

Assigning a geocodeArea to a named set

It's possible to assign a geocodeArea to a named set with the {{geocodeArea:…}} -> … notation.
The following example uses the pivot operator (or statement?) to draw the boundaries of Zurich City (whose geocodeArea name is Zurich, Switzerland):
{{geocodeArea: Zurich, Switzerland }} -> .zh;

rel(pivot.zh);

out geom;

See also

Compare the geocode… instructions with area (area vs {{geocodeArea}}).
Other extensions.
Overpass API

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758843692, '216.73.216.5', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/OpenStreetMap/API/Overpass/extensions/geocode(63): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78