Ticket #40 (closed defect: fixed)
Need an error if you use postgis input without having it installed
| Reported by: | mapnik@… | Owned by: | artem |
|---|---|---|---|
| Priority: | Milestone: | 0.5.0 | |
| Component: | Core Library | Version: | SVN Trunk |
| Severity: | Normal | Keywords: | |
| Cc: | Patch Needs Improvement: | ||
| Needs Docmentation: | Has Patch?: | ||
| Design Decision Needed: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
