1.0.2 • Published 6 years ago

osm-qa-filter v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

osm-qa-filter Build Status BSD-3 license

A Tile Reduce processor to extract GeoJSON features from the OSM QA Tiles using Mapbox GL feature filters.

Run

First install the required dependencies. You need a new Node version (> 5).

npm install -g osm-qa-filter

Now download the Mapbox QA Tiles. You can either download the entire planet or a smaller country extract.

wget https://s3.amazonaws.com/mapbox/osm-qa-tiles/latest.country/liechtenstein.mbtiles.gz
gunzip liechtenstein.mbtiles.gz

Invoke osm-qa-filter file with the planet file and output GeoJSON file.

osm-qa-filter -m planet.mbtiles -o postbox.geojson \
    --filter '["all", ["==", "amenity", "post_box"], ["$type", "==", "Point"]]'