Package org.geotools.feature

Examples of org.geotools.feature.GeometryAttributeType


            }
            return  wrapped.getBounds();
        }

        public Geometry getDefaultGeometry() {
            GeometryAttributeType defaultGeometry = type.getDefaultGeometry();
            if(defaultGeometry == null)
                return null;
            return (Geometry) wrapped.getAttribute(defaultGeometry.getName());
        }
View Full Code Here


     * @param layer DOCUMENT ME!
     *
     * @throws IOException DOCUMENT ME!
     */
    private void writeDefs(FeatureType layer) throws IOException {
        GeometryAttributeType gtype = layer.getDefaultGeometry();
        Class geometryClass = gtype.getType();

        if ((geometryClass == MultiPoint.class)
                || (geometryClass == Point.class)) {
            writePointDefs();
        }
View Full Code Here

TOP

Related Classes of org.geotools.feature.GeometryAttributeType

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.