mapnik-org/mapnik — Issue #683: Mapnik should be more strict about missing styles
Author: artemp
Created: 2011-10-11 08:08:03+00:00
State: open
Labels: Core_Library

Using the XMLGettingStarted map definition and changing the StyleName reference:

{{{
WARNING: style 'MyStyle' required for layer 'world' does not exist.
}}}

I get a transparent image. No fatal error even though the data is not there.

Missing information / features in a Map is something very important that can produce a misleading map.

Missing Style should produce a fatal ERROR / exception and no map output.