artemp/trac2github — Issue #686: Mapnik should be more strict about missing styles
Author: artemp
Created: 2011-10-09 20:47:09+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.