NASA World Wind

gov.nasa.worldwind.data
Class GDAL

java.lang.Object
  extended by gov.nasa.worldwind.data.GDAL

public class GDAL
extends Object


Nested Class Summary
static class GDAL.Area
           
 
Field Summary
static int GT_0_ORIGIN_LON
           
static int GT_1_PIXEL_WIDTH
           
static int GT_2_ROTATION_X
           
static int GT_3_ORIGIN_LAT
           
static int GT_4_ROTATION_Y
           
static int GT_5_PIXEL_HEIGHT
           
static int GT_SIZE
           
 
Method Summary
static Point2D[] computeCornersFromGeotransform(double[] gt, int width, int height)
           
static AffineTransform getAffineTransform(org.gdal.gdal.Dataset ds)
           
static AffineTransform getAffineTransform(org.gdal.gdal.Dataset ds, int newWidth, int newHeight)
           
static Point2D getGeoPointForRasterPoint(double[] gt, int x, int y)
           
static double getMaxX(Point2D[] points)
           
static double getMaxY(Point2D[] points)
           
static double getMinX(Point2D[] points)
           
static double getMinY(Point2D[] points)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GT_0_ORIGIN_LON

public static final int GT_0_ORIGIN_LON
See Also:
Constant Field Values

GT_1_PIXEL_WIDTH

public static final int GT_1_PIXEL_WIDTH
See Also:
Constant Field Values

GT_2_ROTATION_X

public static final int GT_2_ROTATION_X
See Also:
Constant Field Values

GT_3_ORIGIN_LAT

public static final int GT_3_ORIGIN_LAT
See Also:
Constant Field Values

GT_4_ROTATION_Y

public static final int GT_4_ROTATION_Y
See Also:
Constant Field Values

GT_5_PIXEL_HEIGHT

public static final int GT_5_PIXEL_HEIGHT
See Also:
Constant Field Values

GT_SIZE

public static final int GT_SIZE
See Also:
Constant Field Values
Method Detail

computeCornersFromGeotransform

public static Point2D[] computeCornersFromGeotransform(double[] gt,
                                                       int width,
                                                       int height)

getAffineTransform

public static AffineTransform getAffineTransform(org.gdal.gdal.Dataset ds)
                                          throws IllegalArgumentException
Throws:
IllegalArgumentException

getAffineTransform

public static AffineTransform getAffineTransform(org.gdal.gdal.Dataset ds,
                                                 int newWidth,
                                                 int newHeight)
                                          throws IllegalArgumentException
Throws:
IllegalArgumentException

getGeoPointForRasterPoint

public static Point2D getGeoPointForRasterPoint(double[] gt,
                                                int x,
                                                int y)

getMaxX

public static double getMaxX(Point2D[] points)
                      throws IllegalArgumentException
Throws:
IllegalArgumentException

getMaxY

public static double getMaxY(Point2D[] points)
                      throws IllegalArgumentException
Throws:
IllegalArgumentException

getMinX

public static double getMinX(Point2D[] points)
                      throws IllegalArgumentException
Throws:
IllegalArgumentException

getMinY

public static double getMinY(Point2D[] points)
                      throws IllegalArgumentException
Throws:
IllegalArgumentException

NASA World Wind