public class VariableAdapter.UnidataSpatialDomain extends CoverageSource.SpatialDomain
Constructor and Description |
---|
UnidataSpatialDomain() |
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem |
getCoordinateReferenceSystem2D() |
double[] |
getFullResolution() |
GridGeometry2D |
getGridGeometry() |
MathTransform2D |
getGridToWorldTransform(ProgressListener listener)
Transformation between the 2D raster space and the 2D model space.
|
Set<? extends RasterLayout> |
getRasterElements(boolean overall,
ProgressListener listener)
The first
Rectangle should describe the overall bidimensional raster range for
the underlying coverage. |
ReferencedEnvelope |
getReferencedEnvelope() |
Set<? extends BoundingBox> |
getSpatialElements(boolean overall,
ProgressListener listener)
The first
BoundingBox of this List should contain the overall bounding
for the underlying coverage in its native coordinate reference system. |
void |
setCoordinateReferenceSystem(CoordinateReferenceSystem coordinateReferenceSystem) |
void |
setGridGeometry(GridGeometry2D gridGeometry) |
void |
setReferencedEnvelope(ReferencedEnvelope referencedEnvelope) |
public ReferencedEnvelope getReferencedEnvelope()
public void setReferencedEnvelope(ReferencedEnvelope referencedEnvelope)
public GridGeometry2D getGridGeometry()
public double[] getFullResolution()
public void setGridGeometry(GridGeometry2D gridGeometry)
public void setCoordinateReferenceSystem(CoordinateReferenceSystem coordinateReferenceSystem)
public Set<? extends BoundingBox> getSpatialElements(boolean overall, ProgressListener listener) throws IOException
CoverageSource.SpatialDomain
BoundingBox
of this List
should contain the overall bounding
for the underlying coverage in its native coordinate reference system. However, by
setting the global
param to false
we can request additional
bounding boxes in case the area covered by the mentioned coverage is poorly approximated
by a single coverage, like it could happen for a mosaic which has some holes.getSpatialElements
in class CoverageSource.SpatialDomain
IOException
BoundingBox}
public CoordinateReferenceSystem getCoordinateReferenceSystem2D()
getCoordinateReferenceSystem2D
in class CoverageSource.SpatialDomain
public MathTransform2D getGridToWorldTransform(ProgressListener listener) throws IOException
CoverageSource.SpatialDomain
getGridToWorldTransform
in class CoverageSource.SpatialDomain
IOException
public Set<? extends RasterLayout> getRasterElements(boolean overall, ProgressListener listener) throws IOException
CoverageSource.SpatialDomain
Rectangle
should describe the overall bidimensional raster range for
the underlying coverage. However, by setting the
overall
param to true we can request additional raster ranges in case the area
covered by the mentioned coverage is poorly approximated by a single Rectangle
,
like it could happen for a mosaic which has some holes.getRasterElements
in class CoverageSource.SpatialDomain
IOException
Copyright © 1996–2019 Geotools. All rights reserved.