Package ch.interlis.ili2c.metamodel

Examples of ch.interlis.ili2c.metamodel.PrecisionDecimal


                    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 {
View Full Code Here

TOP

Related Classes of ch.interlis.ili2c.metamodel.PrecisionDecimal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.