osmium based OpenStreetMap data filter. Input is an OSM PBF, output is a stream of GeoJSON FeatureCollection per line.
apt-get install -y build-essential zlib1g-dev unzip python-dev \
git libtool g++ autotools-dev automake cmake make xutils-dev realpath ragel
brew install autoconf automake libtool makedepend
- Install osmium dependencies
- git clone https://github.com/geohacker/osmlazer.git
npm install
node index.js --file /path/to/pbf --filter /path/to/filter
Filters are Mapbox GL filters. See filters/
for examples.