Search for typos in openstreetmap cartocss stylesheets. This searches for key-value tag selectors in cartocss files and cross-checks those with the taginfo database.
-
install sqlite3 module
npm install sqlite3
-
grab taginfo database files
wget http://taginfo.openstreetmap.org/download/taginfo-master.db.bz2 wget http://taginfo.openstreetmap.org/download/taginfo-wiki.db.bz2
-
unpack taginfo db
bzip2 -d *.bz2
node typo.js <path to carto stylesheet.mss>
Database files must be in the directory from which you call the node command