Package au.com.objectix.jgridshift

Examples of au.com.objectix.jgridshift.GridShift


                        " Could not be created", e);
            }
        }
       
        try {
            GridShift shift = new GridShift();
            while(--numPts >= 0) {
                shift.setLonPositiveEastDegrees(srcPts[srcOff++]);
                shift.setLatDegrees(srcPts[srcOff++]);
                if (forward) {
                    shifted = gridShift.gridShiftForward(shift);
                } else {
                    shifted = gridShift.gridShiftReverse(shift);
                }
                if (shifted) {
                    dstPts[dstOff++]=shift.getShiftedLonPositiveEastDegrees();
                    dstPts[dstOff++]=shift.getShiftedLatDegrees();
                } else {
                    if(LOGGER.isLoggable(Level.FINE)) {
                        LOGGER.log(Level.FINE, "Point (" + srcPts[srcOff-2] + ", " + srcPts[srcOff-1] +
                                ") is not covered by '" + this.grid + "' NTv2 grid," +
                        " it will not be shifted.");
View Full Code Here

TOP

Related Classes of au.com.objectix.jgridshift.GridShift

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.