osmlint
v0.2.2
Published
![](https://circleci.com/gh/osmlab/osmlint.png?circle-token=e4229a7582377cb4914b45e6a232441b742eb0ee)
Downloads
6
Keywords
Readme
OSM Lint
Work in progress and changing fast.
Validate OpenStreetMap data with OSM QA Tiles. OSM Lint is a selection of validators built with TileReduce for validating OSM QA Tiles. Use from the command line or as a node module.
Installation
npm install -g osmlint
Usage
Command line
osmlint bridgeonnode --bbox="[7.4, 43.7, 7.4, 43.7]" --zoom=12 osm.mbtiles
Javascript
// Outputs nodes with bridge tags to stdout
require('osmlint').bridgeOnNode({bbox: [-122.1, 36.9, -121.9, 37.0], zoom: 12}, './osm.mbtiles', function() {
console.log('done');
});
Available validators
See validators
.
Development
git clone https://github.com/osmlab/osmlint.git --depth=1
cd osmlint
npm install