Package com.esri.sde.sdk.client

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


        final int numBands = getNumberOfBands();

        SeRasterTile[] tile = new SeRasterTile[numBands];

        SeRasterTile bandTile;
        for (int i = 0; i < numBands; i++) {
            bandTile = session.issue(fetchCommand);
            if (bandTile == null) {
                throw new IllegalStateException("There are no more tiles to fetch");
            }
View Full Code Here


    private void extractTile(final SeRasterTile[] seTile, TileInfo[] target) {
        final int numberOfBands = getNumberOfBands();
        assert numberOfBands == seTile.length;
        assert numberOfBands == target.length;

        SeRasterTile tile;
        TileInfo bandData;
        for (int bandN = 0; bandN < numberOfBands; bandN++) {
            tile = seTile[bandN];

            final byte[] bitMaskData = tile.getBitMaskData();
            final int numPixelsRead = tile.getNumPixels();
            final long bandId = tile.getBandId().longValue();
            final int colIndex = tile.getColumnIndex();
            final int rowIndex = tile.getRowIndex();
            final Number noData = rasterInfo.getNoDataValue(rasterId, bandN);
            bandData = target[bandN];
            bandData.setBandId(bandId);
            bandData.setColumnIndex(colIndex);
            bandData.setRowIndex(rowIndex);
View Full Code Here

    @Override
    public SeRasterTile execute(ISession session, SeConnection connection) throws SeException,
            IOException {

        SeRasterTile tile = row.getRasterTile();

        return tile;// may be null indicating EOF
    }
View Full Code Here

TOP

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

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.