Skip to content

Instantly share code, notes, and snippets.

View orangejulius's full-sized avatar
🌍
making Geocode Earth and open data better :)

Julian Simioni orangejulius

🌍
making Geocode Earth and open data better :)
View GitHub Profile
@missinglink
missinglink / openstreetmap-stream.sh
Last active August 29, 2015 14:06
stream the latest 26GB openstreetmap .pbf planet dump to a terminal near you; a bash one-liner courtesy of mapzen
#!/bin/bash
npm install openstreetmap-stream; curl -s http://planet.osm.org/pbf/planet-latest.osm.pbf | node -e "var osm = require('openstreetmap-stream'); process.stdin.pipe(osm.parser()).pipe(osm.stringify).pipe(process.stdout);";