Package org.geotools.imageio.netcdf
Class VariableAdapter.UnidataSpatialDomain
- Object
-
- CoverageSource.SpatialDomain
-
- UnidataSpatialDomain
-
- Enclosing class:
- VariableAdapter
public class VariableAdapter.UnidataSpatialDomain extends CoverageSource.SpatialDomain
-
-
Constructor Summary
Constructors Constructor Description UnidataSpatialDomain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateReferenceSystemgetCoordinateReferenceSystem2D()double[]getFullResolution()GridGeometry2DgetGridGeometry()MathTransform2DgetGridToWorldTransform(ProgressListener listener)Transformation between the 2D raster space and the 2D model space.Set<? extends RasterLayout>getRasterElements(boolean overall, ProgressListener listener)The firstRectangleshould describe the overall bidimensional raster range for the underlying coverage.ReferencedEnvelopegetReferencedEnvelope()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.voidsetCoordinateReferenceSystem(CoordinateReferenceSystem coordinateReferenceSystem)voidsetGridGeometry(GridGeometry2D gridGeometry)voidsetReferencedEnvelope(ReferencedEnvelope referencedEnvelope)
-
-
-
Method Detail
-
getReferencedEnvelope
public ReferencedEnvelope getReferencedEnvelope()
-
setReferencedEnvelope
public void setReferencedEnvelope(ReferencedEnvelope referencedEnvelope)
-
getGridGeometry
public GridGeometry2D getGridGeometry()
-
getFullResolution
public double[] getFullResolution()
-
setGridGeometry
public void setGridGeometry(GridGeometry2D gridGeometry)
-
setCoordinateReferenceSystem
public void setCoordinateReferenceSystem(CoordinateReferenceSystem coordinateReferenceSystem)
-
getSpatialElements
public Set<? extends BoundingBox> getSpatialElements(boolean overall, ProgressListener listener) throws IOException
Description copied from class:CoverageSource.SpatialDomainThe 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.- Specified by:
getSpatialElementsin classCoverageSource.SpatialDomain- Throws:
IOException
-
getCoordinateReferenceSystem2D
public CoordinateReferenceSystem getCoordinateReferenceSystem2D()
- Specified by:
getCoordinateReferenceSystem2Din classCoverageSource.SpatialDomain
-
getGridToWorldTransform
public MathTransform2D getGridToWorldTransform(ProgressListener listener) throws IOException
Description copied from class:CoverageSource.SpatialDomainTransformation 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:
getGridToWorldTransformin classCoverageSource.SpatialDomain- Throws:
IOException
-
getRasterElements
public Set<? extends RasterLayout> getRasterElements(boolean overall, ProgressListener listener) throws IOException
Description copied from class:CoverageSource.SpatialDomainThe 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.- Specified by:
getRasterElementsin classCoverageSource.SpatialDomain- Throws:
IOException
-
-