We are gonna use a Postgis datasource to check variables propagation. To run the scripts we expect:
- A PostgreSQL database available as
postgresql://postgres@localhost:5432/postgres, with PostGIS.
npm install
It's possible to use variables with mapnik.Image, check with:
node test-image.js
However, it's not possible to use them with mapnik.Grid, check with:
node test-grid.js