Package org.geolatte.geom

Examples of org.geolatte.geom.DimensionalFlag


        if (points.length == 0) {
            return PointCollectionFactory.createEmpty();
        }
        org.postgis.Point first = points[0];
        CrsId crs = CrsId.valueOf(first.srid);
        DimensionalFlag flag = DimensionalFlag.valueOf(first.dimension == 3, first.haveMeasure);
        PointSequenceBuilder pointSequence = PointSequenceBuilders.variableSized(flag, crs);
        for (int i = 0; i < points.length; i++) {
            pointSequence.add(convert(points[i]));
        }
        return pointSequence.toPointSequence();
View Full Code Here


             point[offset++] = geometry.z;
        }
        if (geometry.haveMeasure) {
            point[offset++] = geometry.m;
        }
        DimensionalFlag flag = DimensionalFlag.valueOf(d == 3, geometry.haveMeasure);
        return new Point(PointCollectionFactory.create(point, flag, crs));
    }
View Full Code Here

TOP

Related Classes of org.geolatte.geom.DimensionalFlag

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.