use of ch.interlis.iox_j.wkb.Wkb2iox in project ili2db by claeis.
the class PostgisColumnConverter method toIomSurface.
@Override
public IomObject toIomSurface(Object geomobj, String sqlAttrName, boolean is3D) throws SQLException, ConverterException {
byte[] bv = (byte[]) geomobj;
Wkb2iox conv = new Wkb2iox();
try {
return conv.read(bv);
} catch (ParseException e) {
throw new ConverterException(e);
}
}
Aggregations