diff --git a/src/tap/data/ResultSetTableIterator.java b/src/tap/data/ResultSetTableIterator.java index 5bcbbfcabcb7936344123a68b7b6acb86aa6239b..0f2e10ccd558ca2a106de381b3a8521050537187 100644 --- a/src/tap/data/ResultSetTableIterator.java +++ b/src/tap/data/ResultSetTableIterator.java @@ -716,7 +716,7 @@ public class ResultSetTableIterator implements TableIterator { else if (colType != null && colValue != null && colType.type == DBDatatype.CHAR && (colType.length == 1 || colType.length <= 0) && colValue instanceof String) colValue = ((String)colValue).charAt(0); // if the column value is a geometrical object, it must be serialized in STC-S: - else if (translator != null && colType != null && colType.isGeometry()){ + else if ((translator != null && colType != null && colType.isGeometry()) || colType.type == DBDatatype.VARBINARY) { try{ Region region = translator.translateGeometryFromDB(colValue); if (region != null)