artemp/tickets2issues — Issue #38: Need an error if you use postgis input without having it installed
Author: artemp
Created: 2011-10-11 14:52:27+00:00
State: closed
Labels: Core_Library

When using Mapnik and the PostGIS input driver, if you don't have the postgis driver installed mapnik simply assumes no data exists for the layer and continues on, when instead it should throw an error of some kind.

Steps to reproduce:
- Build Mapnik without the PostGIS driver
- Ask it to render a map that uses a PostGIS source

Expected behaviour:
- Mapnik errors, telling you that the driver doesn't exist.

Actual behaviour:
- Mapnik assumes the layer is blank, and renders an entirely blank map.