Package com.esri.sde.sdk.client

Examples of com.esri.sde.sdk.client.SeCoordinateReference


        final byte[][] strings = new byte[2][];
        strings[0] = new byte[] { 0x00, 0x48, 0x00, 0x65, 0x00, 0x6C, 0x00, 0x6C, 0x00, 0x6F };
        strings[1] = new byte[] { 0x00, 0x57, 0x00, 0x6F, 0x00, 0x72, 0x00, 0x6C, 0x00, 0x64 };

        final SeCoordinateReference coordref = layer.getCoordRef();
        final SeShape shapes[] = new SeShape[2];
        for (int i = 0; i < shapes.length; i++) {
            Geometry geom = geoms[i];
            SeShape shape;
            if (geom == null) {
View Full Code Here


     * large coordinates such as UTM (values greater than 500,000.00)
     * </p>
     */
    public static SeCoordinateReference getGenericCoordRef() throws SeException {

        SeCoordinateReference seCRS = new SeCoordinateReference();
        final String wgs84WKT = DefaultGeographicCRS.WGS84.toWKT();
        seCRS.setCoordSysByDescription(wgs84WKT);
        // seCRS.setPrecision(1000);
        seCRS.setXYByEnvelope(new SeExtent(-180, -90, 180, 90));
        return seCRS;
    }
View Full Code Here

                layer.setSpatialColumnName("SHAPE");
                layer.setShapeTypes(SeLayer.SE_POINT_TYPE_MASK);
                layer.setGridSizes(1100.0, 0.0, 0.0);
                layer.setDescription("Geotools sde pluing join support testing master table");
                SeCoordinateReference coordref = new SeCoordinateReference();
                coordref.setCoordSysByDescription(testCrs.toWKT());

                layer.setCreationKeyword(td.getConfigKeyword());
                layer.create(3, 4);
                return layer;
            }
View Full Code Here

            @Override
            public Void execute(ISession session, SeConnection connection) throws SeException,
                    IOException {
                SeInsert insert = null;
                SeCoordinateReference coordref = layer.getCoordRef();
                final String[] columns = { "ID", "NAME", "SHAPE" };

                for (int i = 1; i < 4; i++) {
                    insert = new SeInsert(connection);
                    insert.intoTable(layer.getName(), columns);
View Full Code Here

TOP

Related Classes of com.esri.sde.sdk.client.SeCoordinateReference

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.