Package org.geotools.referencing.operation.transform

Examples of org.geotools.referencing.operation.transform.WarpTransform2D


   * </p>
   * @throws IOException
   */
  public void run() throws IOException {

    WarpTransform2D warpTransform = new WarpTransform2D(srcCoords, dstCoords, 1);

    // create a DefaultDerivedCRS for the CRS of the image
    DefaultDerivedCRS derivedCRS = new DefaultDerivedCRS("imageCRS", this.crsTarget, warpTransform, //$NON-NLS-1$
          DefaultCartesianCS.GENERIC_2D);
    // now create a gridcoverage for the new warped image
View Full Code Here


                    warpOffset += 2;
                }
                gridOffset += CP_LENGTH;
            }
        }
        return new WarpTransform2D(null, srcCoords, 0, null, dstCoords, 0, warpOffset/2, degree);
    }
View Full Code Here

TOP

Related Classes of org.geotools.referencing.operation.transform.WarpTransform2D

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.