diff --git a/src/tap/data/ResultSetTableIterator.java b/src/tap/data/ResultSetTableIterator.java index 91d554589c2c24fd57fe7428a33a0fd4489b2baf..91a8faa980e0a9ffdec6271968dc32a8a57e6d50 100644 --- a/src/tap/data/ResultSetTableIterator.java +++ b/src/tap/data/ResultSetTableIterator.java @@ -734,7 +734,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()) || colValue instanceof byte[]) { + else if (translator != null && colType != null && colType.isGeometry()) { try{ Region region = translator.translateGeometryFromDB(colValue); if (region != null)