mapnik-org/mapnik — Issue #602: Shapefile reader should throw an error (like postgis) if an attribute name is requested that does not exist in the dbf
Author: artemp
Created: 2011-10-11 08:04:44+00:00
State: open
Labels: Core_Library

As of Mapnik 0.7.0 the PostGIS plugin now throws a mapnik::datasource_exception when queries fail, and the majority of these errors will occurred when a Mapnik [wiki:Filter] referenced a non-existant attribute field.

We should likely mirror this behavior in other plugins, notably the shapfile plugin, which silently ignores attributes that are requested and do not exist.