https://github.com/tyrasd/openstreetmap-carto-typos
search for typos in openstreetmap cartocss stylesheets
https://github.com/tyrasd/openstreetmap-carto-typos
Last synced: 16 days ago
JSON representation
search for typos in openstreetmap cartocss stylesheets
- Host: GitHub
- URL: https://github.com/tyrasd/openstreetmap-carto-typos
- Owner: tyrasd
- License: mit
- Created: 2013-09-30T15:19:12.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-07-03T13:04:05.000Z (about 12 years ago)
- Last Synced: 2025-02-22T02:14:58.163Z (over 1 year ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
Database files must be in the directory from which you call the node command