Being a dynamic map renderer, windshaft commits some map server 'sins' in
its raw form. The idea is that you the developer will want to graft your
own auth/metrics/caching/scaling on top of decent core components. Same
old story: high cohesion, low coupling makes us happy.
See Windshaft-cartodb.

Windshaft is a library used by cartodb.com,
an Open Source Geospatial Database on the Cloud.

Install

Usage

Probably one of the more advanced uses of Windshaft library can be found at
Windshaft-cartodb project.

Installing Mapnik

Latest node-mapnik versions comes
compiled for some platforms and architectures, in case you need it you can
always compile, package and install it manually. The recommended option is
to use mapnik-packaging. You
can also use other alternatives:

Tests

Windshaft has a unit and acceptance test suite.
To execute them, run npm test.

You'll need to be sure your PGUSER (or your libpq default) is
set to a "superuser" PostgreSQL account, for example:

PGUSER=postgres npm test

Troubleshooting

Fonts: Invalid value for text-face-name

You need to install fonts at system level to be able to use them. If you face an issue like Invalid value for
text-face-name, the type font is expected. DejaVu Sans Book (of type string) was given. probably you don't have the
required fonts, try to install DejaVu fonts or any other font needed.