Package org.geotools.coverage.io
Class CoverageSource.SpatialDomain
- Object
-
- SpatialDomain
-
- Direct Known Subclasses:
VariableAdapter.UnidataSpatialDomain
- Enclosing interface:
- CoverageSource
public abstract static class CoverageSource.SpatialDomain extends Object
-
-
Constructor Summary
Constructors Constructor Description SpatialDomain()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CoordinateReferenceSystemgetCoordinateReferenceSystem2D()abstract MathTransform2DgetGridToWorldTransform(ProgressListener listener)Transformation between the 2D raster space and the 2D model space.abstract Set<? extends RasterLayout>getRasterElements(boolean overall, ProgressListener listener)The firstRectangleshould describe the overall bidimensional raster range for the underlying coverage.abstract Set<? extends BoundingBox>getSpatialElements(boolean overall, ProgressListener listener)The firstBoundingBoxof thisListshould contain the overall bounding for the underlying coverage in its native coordinate reference system.
-
-
-
Method Detail
-
getSpatialElements
public abstract Set<? extends BoundingBox> getSpatialElements(boolean overall, ProgressListener listener) throws IOException
The firstBoundingBoxof thisListshould contain the overall bounding for the underlying coverage in its native coordinate reference system. However, by setting theglobalparam tofalsewe 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.- Throws:
IOException
-
getCoordinateReferenceSystem2D
public abstract CoordinateReferenceSystem getCoordinateReferenceSystem2D()
-
getGridToWorldTransform
public abstract MathTransform2D getGridToWorldTransform(ProgressListener listener) throws IOException
Transformation between the 2D raster space and the 2D model space. In case the underlying coverage is unrectified this transformation maybe a georeferencing transformation of simply the identity in case we do not have means to georeference the mentioned coverage.- Throws:
IOException
-
getRasterElements
public abstract Set<? extends RasterLayout> getRasterElements(boolean overall, ProgressListener listener) throws IOException
The firstRectangleshould describe the overall bidimensional raster range for the underlying coverage. However, by setting theoverallparam to true we can request additional raster ranges in case the area covered by the mentioned coverage is poorly approximated by a singleRectangle, like it could happen for a mosaic which has some holes.- Throws:
IOException
-
-