Skip to content
This repository has been archived by the owner on Jun 3, 2018. It is now read-only.

Extract GeoJSON features from OSM QA tiles

License

Notifications You must be signed in to change notification settings

lukasmartinelli/osm-qa-filter

Repository files navigation

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.

⚠️ This repository is no longer maintained by Lukas Martinelli.

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

About

Extract GeoJSON features from OSM QA tiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published