Package org.esa.snap.core.datamodel
Class Graticule
java.lang.Object
org.esa.snap.core.datamodel.Graticule
A geometric representation of a geographical grid measured in longitudes and latitudes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
static int
static int
static int
-
Method Summary
-
Field Details
-
TOP_LEFT_CORNER_INDEX
public static int TOP_LEFT_CORNER_INDEX -
TOP_RIGHT_CORNER_INDEX
public static int TOP_RIGHT_CORNER_INDEX -
BOTTOM_RIGHT_CORNER_INDEX
public static int BOTTOM_RIGHT_CORNER_INDEX -
BOTTOM_LEFT_CORNER_INDEX
public static int BOTTOM_LEFT_CORNER_INDEX
-
-
Method Details
-
getLinePaths
-
getTextGlyphsNorth
-
getTextGlyphsSouth
-
getTextGlyphsWest
-
getTextGlyphsEast
-
getTextGlyphsLatCorners
-
getTextGlyphsLonCorners
-
getTickPointsNorth
-
getTickPointsSouth
-
getTickPointsWest
-
getTickPointsEast
-
create
public static Graticule create(RasterDataNode raster, int desiredNumGridLines, double latMajorStep, double lonMajorStep, boolean formatCompass, boolean decimalFormat) Creates a graticule for the given product.- Parameters:
raster
- the productdesiredNumGridLines
- the grid cell size in pixelslatMajorStep
- the grid cell size in meridional directionlonMajorStep
- the grid cell size in parallel direction- Returns:
- the graticule or null, if it could not be created
-