support boolean type reporting in postgis plugin

This commit is contained in:
Dane Springmeyer 2011-07-12 01:45:49 +00:00
parent 01d5768cea
commit 560f5718c3

View file

@ -250,6 +250,8 @@ void postgis_datasource::bind() const
switch (type_oid)
{
case 16: // bool
desc_.add_descriptor(attribute_descriptor(fld_name,mapnik::Boolean));
break;
case 20: // int8
case 21: // int2
case 23: // int4