|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.format.cadrg.IlvCADRGCoverage
public class IlvCADRGCoverage
This class stores information about a CADRG coverage as described
in a CADRG table of contents. A coverage corresponds
physically to a directory in a CADRG distribution. It is composed
of a set of frames that are part of the same map.
Most of the
coverages are georeferenced, except for those used to store the
overview of a CADRG product or the map legends.
Instances of
the class IlvCADRGCoverage can be obtained using an
IlvCADRGTocReader.
IlvCADRGTocReader| Constructor Summary | |
|---|---|
IlvCADRGCoverage(int index,
IlvCoordinate upperLeftCorner,
IlvCoordinate lowerLeftCorner,
IlvCoordinate upperRightCorner,
IlvCoordinate lowerRightCorner,
double verticalResolution,
double horizontalResolution,
double verticalInterval,
double horizontalInterval,
int rows,
int columns,
String tocPathName,
boolean url)
Creates a CADRG coverage instance. |
|
| Method Summary | |
|---|---|
int |
getColumns()
Returns the number of frame columns in the coverage. |
IlvCoordinateSystem |
getCoordinateSystem()
Returns the coordinate system used for the coverage. |
IlvCADRGFrame |
getFrame(int row,
int column)
Returns the frame of the specified row and column. |
double |
getFrameHeight()
Returns the height of a frame in the file's coordinate system. |
double |
getFrameWidth()
Returns the width of a frame in the file's coordinate system. |
double |
getHorizontalInterval()
Returns the longitude interval between two adjacent pixels of the image. |
double |
getHorizontalResolution()
Returns the nominal horizontal resolution of pixels in the image. |
IlvCoordinate |
getLowerRightCorner()
Returns the lower-right corner of the coverage's region in the coverage's coordinate system. |
String |
getName()
Returns the name of this coverage. |
IlvProjection |
getProjection()
Deprecated. Use #getCoordinateSystem instead. |
int |
getRows()
Returns the number of frame rows in the coverage. |
String |
getScaleDescription()
Returns the scale description of the coverage. |
String |
getTocPathName()
Returns the toc path name. |
IlvCoordinate |
getUpperLeftCorner()
Returns the upper-left corner of the coverage's region in the coverage's coordinate system. |
double |
getVerticalInterval()
Returns the latitude interval between two adjacent pixels of the image. |
double |
getVerticalResolution()
Returns the nominal vertical resolution of pixels in the image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvCADRGCoverage(int index,
IlvCoordinate upperLeftCorner,
IlvCoordinate lowerLeftCorner,
IlvCoordinate upperRightCorner,
IlvCoordinate lowerRightCorner,
double verticalResolution,
double horizontalResolution,
double verticalInterval,
double horizontalInterval,
int rows,
int columns,
String tocPathName,
boolean url)
Note: the upperLeftCorner parameter and
other points are expressed in degrees as read in the CADRG TOC.
index - The index of this coverage. This parameter is unused.upperLeftCorner - The coordinate of the upper left corner in degrees.lowerLeftCorner - The coordinate of the lower left corner in degrees.upperRightCorner - The coordinate of the upper right corner in degrees.lowerRightCorner - The coordinate of the lower right corner in degrees.verticalResolution - The vertical resolution in meters.horizontalResolution - The horizontal resolution in meters.verticalInterval - The longitudinal interval between two adjacent pixels
in degrees.horizontalInterval - The latitudinal interval between two adjacent pixels
in degrees.rows - The number of rows in this coverage.columns - The number of columns in this coverage.tocPathName - The file name or URL of the table of content file.url - Set to true if the table of content is found in a
URL, set to true for a file name.| Method Detail |
|---|
public int getRows()
public int getColumns()
public String getScaleDescription()
public double getFrameWidth()
public double getFrameHeight()
public final IlvCADRGFrame getFrame(int row,
int column)
row - The row of the framecolumn - The column of the frame
public IlvCoordinate getUpperLeftCorner()
public IlvCoordinate getLowerRightCorner()
public double getVerticalInterval()
public double getHorizontalInterval()
public IlvProjection getProjection()
public IlvCoordinateSystem getCoordinateSystem()
public final String getTocPathName()
public String getName()
public double getVerticalResolution()
public double getHorizontalResolution()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||