artemp/mapnik — Issue #685: Mapnik should be more strict about missing styles
Author: artemp
Created: 2011-10-11 16:32:22+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.