Package org.geotools.imageio.netcdf
Class VariableAdapter.UnidataSpatialDomain
Object
CoverageSource.SpatialDomain
UnidataSpatialDomain
- Enclosing class:
- VariableAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
getGridToWorldTransform
(ProgressListener listener) Transformation between the 2D raster space and the 2D model space.Set<? extends RasterLayout>
getRasterElements
(boolean overall, ProgressListener listener) The firstRectangle
should describe the overall bidimensional raster range for the underlying coverage.Set<? extends BoundingBox>
getSpatialElements
(boolean overall, ProgressListener listener) The firstBoundingBox
of thisList
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)
-
Constructor Details
-
UnidataSpatialDomain
public UnidataSpatialDomain()
-
-
Method Details
-
getReferencedEnvelope
-
setReferencedEnvelope
-
getGridGeometry
-
getFullResolution
public double[] getFullResolution() -
setGridGeometry
-
setCoordinateReferenceSystem
-
getSpatialElements
public Set<? extends BoundingBox> getSpatialElements(boolean overall, ProgressListener listener) throws IOException Description copied from class:CoverageSource.SpatialDomain
The firstBoundingBox
of thisList
should contain the overall bounding for the underlying coverage in its native coordinate reference system. However, by setting theglobal
param tofalse
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.- Specified by:
getSpatialElements
in classCoverageSource.SpatialDomain
- Throws:
IOException
-
getCoordinateReferenceSystem2D
- Specified by:
getCoordinateReferenceSystem2D
in classCoverageSource.SpatialDomain
-
getGridToWorldTransform
Description copied from class:CoverageSource.SpatialDomain
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.- Specified by:
getGridToWorldTransform
in classCoverageSource.SpatialDomain
- Throws:
IOException
-
getRasterElements
public Set<? extends RasterLayout> getRasterElements(boolean overall, ProgressListener listener) throws IOException Description copied from class:CoverageSource.SpatialDomain
The firstRectangle
should describe the overall bidimensional raster range for the underlying coverage. However, by setting theoverall
param 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.- Specified by:
getRasterElements
in classCoverageSource.SpatialDomain
- Throws:
IOException
-