Skip to content

osmlab/osmlint

Repository files navigation

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

About

An open source suite of js validators for OpenStreetMap data, to identify common geometry and metadata problems at scale.

Resources

License

Contributing

Stars

84 stars

Watchers

32 watching

Forks

Packages

 
 
 

Contributors