#!/bin/sh # qy --- query Manila addresses # Author: Dan Jacobson https://www.jidanni.org/ # Copyright: https://www.gnu.org/licenses/gpl.html # Created: 2025-01-03T23:15:15+0000 # Last-Updated: 2025-01-04T09:05:49+0000 # Update #: 8 area(id:3600122604)->.a; nw["addr:housenumber"="1111"](area.a); out geom; {{geocodeArea:Chicago}}->.a; nw["addr:housenumber"="1111"](area.a); out geom; # https://osint4fun.medium.com/overpass-turbo-geoint-how-to-leverage-openstreetmap-for-location-analysis-d2bd5859da95 grep -v ^# <.mnl; nw["addr:housenumber"](area.mnl); out count 10; EOF : <<\EOF //[out:json]; [timeout:25]; // gather results //nw["addr:housenumber"~"^[0-9]{4}$"]({{bbox}}); nw["addr:housenumber"~"^54[0-9]{2}$"]({{bbox}}); out count; //out 22 geom; out geom meta 10; out body; >; out skel qt; ' [out:json][timeout:25]; // Define place {{geocodeArea:Berlín}}->.areaBusqueda; // all train stations in Berlín node[“railway”=”station”](area.areaBusqueda)->.estaciones; // just bookstores close to stations (radio de 50 metros) node(around.estaciones:50)[“shop”=”books”]->.librerias; // just show the bookstore .librerias out body; The original search was: “addr:housenumber ~ /[0-9][0-9][0-9][0-9]/” */ [out:json][timeout:25]; // gather results nwr["addr:housenumber"~"[0-9][0-9][0-9][0-9]"]({{bbox}}); // print results out geom;&C=14.543345;121.010467;16 EOF