Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am timwallace on github.
  • I am tim_wallace (https://keybase.io/tim_wallace) on keybase.
  • I have a public key ASAxNuAelIAX0knFQzgaGPife5DdhJZuKB05kuYHhYc0UQo

To claim this, I am signing this object:

@timwallace
timwallace / overpass-extractor-bash.sh
Created January 22, 2015 23:37
Bash scripts for grabbing OSM extracts by bounding box via Overpass
function osm_buildings() {
#download osm BUILDINGS within a bounding box from overpass
b1=$1
b2=$2
b3=$3
b4=$4
curl --location --globoff "http://www.overpass-api.de/api/xapi?*[building=*][bbox="+$b1+","+$b2+","+$b3+","+$b4+"]" -o buildings.osm
}