osm-qa-filter

1.0.2 • Public • Published

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"]]'

Readme

Keywords

Package Sidebar

Install

npm i osm-qa-filter

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • lukasmartinelli