|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@UML(identifier="CV_GridCoverage", specification=OGC_01004) public interface GridCoverage
Represent the basic implementation which provides access to grid coverage data.
A GridCoverage
implementation may provide the ability to update
grid values.
RenderedImage
,
PixelAccessor
Method Summary | |
---|---|
GridGeometry |
getGridGeometry()
Information for the grid coverage geometry. |
int |
getNumOverviews()
Number of predetermined overviews for the grid. |
int[] |
getOptimalDataBlockSizes()
Optimal size to use for each dimension when accessing grid values. |
GridCoverage |
getOverview(int index)
Returns a pre-calculated overview for a grid coverage. |
GridGeometry |
getOverviewGridGeometry(int index)
Returns the grid geometry for an overview. |
RenderedImage |
getRenderedImage()
Returns grid data as a rendered image. |
List<GridCoverage> |
getSources()
Returns the sources data for a grid coverage. |
boolean |
isDataEditable()
Returns true if grid data can be edited. |
Methods inherited from interface Coverage |
---|
evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, getCoordinateReferenceSystem, getEnvelope, getNumSampleDimensions, getRangeType, getRenderableImage, getSampleDimension |
Method Detail |
---|
@UML(identifier="dataEditable", obligation=MANDATORY, specification=OGC_01004) boolean isDataEditable()
true
if grid data can be edited.
true
if grid data can be edited.@UML(identifier="gridGeometry", obligation=MANDATORY, specification=OGC_01004) GridGeometry getGridGeometry()
@UML(identifier="optimalDataBlockSizes", obligation=OPTIONAL, specification=OGC_01004) int[] getOptimalDataBlockSizes()
null
.
null
if none.@UML(identifier="numOverviews", obligation=MANDATORY, specification=OGC_01004) int getNumOverviews()
@UML(identifier="getOverviewGridGeometry", obligation=MANDATORY, specification=OGC_01004) GridGeometry getOverviewGridGeometry(int index) throws IndexOutOfBoundsException
index
- Overview index for which to retrieve grid geometry. Indices start at 0.
IndexOutOfBoundsException
- if overviewIndex
is out of bounds.@UML(identifier="getOverview", obligation=MANDATORY, specification=OGC_01004) GridCoverage getOverview(int index) throws IndexOutOfBoundsException
numberOverviews-1
.
The overviews are ordered from highest (index 0) to lowest
(numberOverviews-1
) resolution.
Overview grid coverages will have overviews which are the overviews for
the grid coverage with lower resolution than the overview.
For example, a 1 meter grid coverage with 3, 9, and 27 meter overviews
will be ordered as in the left side below. The 3 meter overview will have
2 overviews as in the right side below:
1 meter GC 3 meter overview
Index resolution 0 3 1 9 2 27
Index resolution 0 9 1 27
index
- Index of grid coverage overview to retrieve. Indexes start at 0.
IndexOutOfBoundsException
- if overviewIndex
is out of bounds.List<GridCoverage> getSources()
GridCoverage
was
produced from an underlying dataset (by read(...)
for instance), this method should returns an empty list.
If the GridCoverage
was produced using
{link org.opengis.coverage.processing.GridCoverageProcessor} then it should return the
source grid coverages of the one used as input to GridCoverageProcessor
.
In general this method is intended to return the original GridCoverage
on which it depends.
This is intended to allow applications to establish what GridCoverage
s
will be affected when others are updated, as well as to trace back to the "raw data".
getSources
in interface Coverage
RenderedImage getRenderedImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |