node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

dmu2css

dmu2css

Reads an NCGMP09 DescriptionOfMapUnits table from a .csv file and writes a CartoCSS stylesheet that can be used in Tilemill.

Install

npm install -g dmu2css

Run

Just dmu2css.

You will be prompted for two pieces of information:

  1. DescriptionOfMapUnits file (CSV): Enter the path to a DescriptionOfMapUnits .csv file
  2. Output CartoCSS file: Enter the path to where you'd like it to write your CartoCSS file