Add support for literal types in PostGIS queries. Closes #1464.

This commit is contained in:
Sandro Santilli 2012-09-04 18:20:15 +02:00
parent ed734df467
commit 170e23440f

View file

@ -152,7 +152,7 @@ feature_ptr postgis_featureset::next()
float8net(val,buf);
boost::put(*feature,name,val);
}
else if (oid==25 || oid==1043) // text or varchar
else if (oid==25 || oid==1043 || oid==705 ) // text or varchar or literal
{
UnicodeString ustr = tr_->transcode(buf);
boost::put(*feature,name,ustr);