mapnik/mapnik — Issue #986: runtime parameter to control datasource plugin strictness and verbosity
Author: springmeyer
Created: 2011-12-06 18:15:15+00:00
State: open

As per #792 - all datasources should (be able) to throw if fields are requested that do not exist in the datasource. The reasoning behind this is that this condition is *very* hard to debug for stylesheet authors if datasources are silent.

But, we should allow this behavior to be disabled, so that these runtime checks can be bypassed for top speed or in production environments where errors are not desirable.

So, what about all datasources expecting option(s) to control whether error like this throw, print to std::clog, or are silent?

In the CSV plugin I've been using two options like:

```
quiet=bool, strict=bool
```

Or we could move to something like:

```
debug=1|2|3
```

Other ideas for naming?