This commit is contained in:
parent
3d7575c282
commit
93f58b1ef3
3 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,8 @@ For a complete change history, see the git log.
|
||||||
|
|
||||||
- Add DebugSymbolizer (#1366)
|
- Add DebugSymbolizer (#1366)
|
||||||
|
|
||||||
|
- Added support for literal types in PostGIS Plugin (#1464)
|
||||||
|
|
||||||
|
|
||||||
## Mapnik 2.1.0
|
## Mapnik 2.1.0
|
||||||
|
|
||||||
|
|
|
@ -391,6 +391,7 @@ void postgis_datasource::bind() const
|
||||||
case 1042: // bpchar
|
case 1042: // bpchar
|
||||||
case 1043: // varchar
|
case 1043: // varchar
|
||||||
case 25: // text
|
case 25: // text
|
||||||
|
case 705: // literal
|
||||||
desc_.add_descriptor(attribute_descriptor(fld_name, mapnik::String));
|
desc_.add_descriptor(attribute_descriptor(fld_name, mapnik::String));
|
||||||
break;
|
break;
|
||||||
default: // should not get here
|
default: // should not get here
|
||||||
|
|
|
@ -174,6 +174,7 @@ feature_ptr postgis_featureset::next()
|
||||||
|
|
||||||
case 25: //text
|
case 25: //text
|
||||||
case 1043: //varchar
|
case 1043: //varchar
|
||||||
|
case 705: //literal
|
||||||
{
|
{
|
||||||
feature->put(name, tr_->transcode(buf));
|
feature->put(name, tr_->transcode(buf));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue