|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UML(identifier="CV_RectifiedGrid",
specification=ISO_19123)
public interface RectifiedGridGrid for which there is an affine transformation between the grid coordinates and the coordinates of an external coordinate reference system. A rectified grid is defined by an origin in an external coordinate reference system, and a set of offset vectors that specify the direction and distance between grid lines within that external CRS.
NOTE: If the coordinate reference system is related to the earth by a datum, the grid is a georectified grid.
Constraints:
Departure from OGC/ISO specification:
ISO 19123 definesRectifiedGridas a direct sub-type ofGrid. In GeoAPI,RectifiedGridextendsGridindirectly, throughReferenceableGrid. In the GeoAPI hierarchy,RectifiedGridis considered as a special case ofReferenceableGridwhere the grid to CRS coordinate operation is affine. This hierarchy make easier to leverage the same code for both the affine and non-affine cases when the code does not require a strictly affine operation.
| Method Summary | |
|---|---|
DirectPosition |
convertCoordinates(GridCoordinates g)
Deprecated. Renamed as transformCoordinates(org.opengis.coverage.grid.GridCoordinates). |
List<double[]> |
getOffsetVectors()
Returns the offset vectors that determine the grid spacing in each direction. |
DirectPosition |
getOrigin()
Returns the origin of the rectified grid in an external coordinate reference system. |
GridCoordinates |
inverseConvertCoordinates(DirectPosition p)
Deprecated. Renamed as inverseTransformCoordinates(org.opengis.geometry.DirectPosition). |
GridCoordinates |
inverseTransformCoordinates(DirectPosition p)
Converts through an affine transform a direct position to the grid coordinates of the nearest grid point. |
DirectPosition |
transformCoordinates(GridCoordinates g)
Converts through an affine transform grid coordinates to a direct position. |
| Methods inherited from interface ReferenceableGrid |
|---|
getCoordinateReferenceSystem |
| Methods inherited from interface Grid |
|---|
getAxisNames, getCells, getDimension, getExtent, getIntersections |
| Method Detail |
|---|
@UML(identifier="origin",
obligation=MANDATORY,
specification=ISO_19123)
DirectPosition getOrigin()
@UML(identifier="offsetVectors",
obligation=MANDATORY,
specification=ISO_19123)
List<double[]> getOffsetVectors()
@UML(identifier="coordConv",
obligation=MANDATORY,
specification=ISO_19123)
DirectPosition transformCoordinates(GridCoordinates g)
transformCoordinates in interface ReferenceableGridg - The grid coordinates to convert.
Departure from OGC/ISO specification:
A"convertCoordinates"method name would match better the ISO identifier. However sinceRectifiedGridextendsReferenceableGridin GeoAPI, we have to use the same method names than the later. Here, transform is to be understood as a term encompassing both transformation and conversion. This is similar to theMathTransformname policy.
@Deprecated DirectPosition convertCoordinates(GridCoordinates g)
transformCoordinates(org.opengis.coverage.grid.GridCoordinates).
g - The grid coordinates to convert.
@UML(identifier="invCoordConv",
obligation=MANDATORY,
specification=ISO_19123)
GridCoordinates inverseTransformCoordinates(DirectPosition p)
inverseTransformCoordinates in interface ReferenceableGridp - The "real world" coordinates to convert.
Departure from OGC/ISO specification:
A"inverseConvertCoordinates"method name would match better the ISO identifier. However sinceRectifiedGridextendsReferenceableGridin GeoAPI, we have to use the same method names than the later. Here, transform is to be understood as a term encompassing both transformation and conversion. This is similar to theMathTransformname policy.
@Deprecated GridCoordinates inverseConvertCoordinates(DirectPosition p)
inverseTransformCoordinates(org.opengis.geometry.DirectPosition).
p - The "real world" coordinates to convert.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||