Skip to content

tyrasd/openstreetmap-carto-typos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

openstreetmap-carto-typos

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.

Installation

  1. install sqlite3 module

     npm install sqlite3
    
  2. grab taginfo database files

     wget http://taginfo.openstreetmap.org/download/taginfo-master.db.bz2
     wget http://taginfo.openstreetmap.org/download/taginfo-wiki.db.bz2
    
  3. unpack taginfo db

     bzip2 -d *.bz2
    

Running

node typo.js <path to carto stylesheet.mss>

Database files must be in the directory from which you call the node command

About

search for typos in openstreetmap cartocss stylesheets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published