Package gov.nasa.worldwind.data
Class GDAL
- java.lang.Object
-
- gov.nasa.worldwind.data.GDAL
-
public class GDAL extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GDAL.Area
-
Field Summary
Fields Modifier and Type Field Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.geom.Point2D[]
computeCornersFromGeotransform(double[] gt, int width, int height)
static java.awt.geom.AffineTransform
getAffineTransform(org.gdal.gdal.Dataset ds)
static java.awt.geom.AffineTransform
getAffineTransform(org.gdal.gdal.Dataset ds, int newWidth, int newHeight)
static java.awt.geom.Point2D
getGeoPointForRasterPoint(double[] gt, int x, int y)
static double
getMaxX(java.awt.geom.Point2D[] points)
static double
getMaxY(java.awt.geom.Point2D[] points)
static double
getMinX(java.awt.geom.Point2D[] points)
static double
getMinY(java.awt.geom.Point2D[] points)
-
-
-
Field Detail
-
GT_SIZE
public static final int GT_SIZE
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
computeCornersFromGeotransform
public static java.awt.geom.Point2D[] computeCornersFromGeotransform(double[] gt, int width, int height)
-
getGeoPointForRasterPoint
public static java.awt.geom.Point2D getGeoPointForRasterPoint(double[] gt, int x, int y)
-
getAffineTransform
public static java.awt.geom.AffineTransform getAffineTransform(org.gdal.gdal.Dataset ds) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getAffineTransform
public static java.awt.geom.AffineTransform getAffineTransform(org.gdal.gdal.Dataset ds, int newWidth, int newHeight) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getMinX
public static double getMinX(java.awt.geom.Point2D[] points) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getMaxX
public static double getMaxX(java.awt.geom.Point2D[] points) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getMinY
public static double getMinY(java.awt.geom.Point2D[] points) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getMaxY
public static double getMaxY(java.awt.geom.Point2D[] points) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
-