Examples of ChoiceGeometryTypeImpl


Examples of org.geotools.xml.gml.ChoiceGeometryTypeImpl

    }

    private static GeometryDescriptor handleChoiceGeometryAttribute(SimpleFeatureType schema,
            CoordinateReferenceSystem crs, SimpleFeatureTypeBuilder factory,
            GeometryDescriptor defaultGeometryType, AttributeDescriptor attributeType) {
        ChoiceGeometryTypeImpl geometryType = (ChoiceGeometryTypeImpl) attributeType;
        ChoiceGeometryTypeImpl geometry;

        geometry = new ChoiceGeometryTypeImpl(geometryType.getName(), geometryType.getChoices(),
                geometryType.getBinding(), geometryType.isNillable(), geometryType.getMinOccurs(),
                geometryType.getMaxOccurs(), geometryType.createDefaultValue(), crs, geometryType
                        .getRestrictions());

        if (defaultGeometryType == null || geometryType == schema.getGeometryDescriptor()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.