IomObject value = iomObj.getattrobj(
ch.interlis.iom_j.itf.ModelUtilities
.getHelperTableGeomAttrName(localAttr), 0);
if (value != null) {
PrecisionDecimal maxOverlaps = ((SurfaceType) type)
.getMaxOverlap();
if (maxOverlaps == null) {
featBuilder.set(localAttr.getName().toLowerCase(),
Iox2wkt.polyline2jts(value, 0.02));
} else {
// featBuilder.set(localAttr.getName().toLowerCase(),
// Iox2wkt.polyline2jts( value,
// maxOverlaps.doubleValue() ) );
featBuilder.set(localAttr.getName().toLowerCase(),
Iox2wkt.polyline2jts(value, 0.001));
}
}
} else if (type instanceof AreaType) {
isAreaHelper = true;
geomName = localAttr.getName().toLowerCase();
String fkName = ch.interlis.iom_j.itf.ModelUtilities
.getHelperTableMainTableRef(localAttr);
IomObject structvalue = iomObj.getattrobj(fkName, 0);
featBuilder.set("_itf_ref", null);
IomObject value = iomObj.getattrobj(
ch.interlis.iom_j.itf.ModelUtilities
.getHelperTableGeomAttrName(localAttr), 0);
if (value != null) {
PrecisionDecimal maxOverlaps = ((AreaType) type)
.getMaxOverlap();
if (maxOverlaps == null) {
featBuilder.set(localAttr.getName().toLowerCase(),
Iox2wkt.polyline2jts(value, 0.02));
} else {