There are (at least) two utilities available that may make style file generation simpler. These are Cascadenik and Carto.
It appears that Carto is being more actively developed at the moment, so I thought I would look at that first. Carto also reports to be much faster than Cascadenink.
- Downloaded node.js version 0.4.7 from http://nodejs.org, and extracted it into /usr/local/node-v0.4.7. Built with ./configure; make; make install.
- Installed the node package manager npm using: curl http://npmjs.org/install.sh | sh
- Installed carto dependencies:
- npm install get [used to be node-get, but the module has changed name]
- npm install step
- npm install srs
- npm install underscore
- npm install zipfile (actually did this twice because one of the document build actions failed on the first attempt...).
- Downloaded carto using: git clone https://github.com/mapbox/carto.git
I have had a quick look at TileMill, which is a web based editor for carto stylesheets - it is very impressive - you can change the stylesheet and preview the map in real time. The only problem that I have found with tilemill is that it does not seem to work with a postgresql database as the data source, which is where my OSM data is stored. But at least I should get the idea about the structure of the files using that tool.