Package org.geotools.coverage.grid

Examples of org.geotools.coverage.grid.GeneralGridGeometry


            double[] requestedResolution) throws IOException {
            // Currently we have no overviews support so we will return the highest resolution
        coverageName = checkUnspecifiedCoverage(coverageName);
        final CoverageSource source = getGridCoverageSource(coverageName);
        VariableAdapter.UnidataSpatialDomain spatialDomain = (UnidataSpatialDomain) source.getSpatialDomain();
        GeneralGridGeometry gridGeometry2D = spatialDomain.getGridGeometry();
        AffineTransform gridToCRS = (AffineTransform) gridGeometry2D.getGridToCRS();
        return CoverageUtilities.getResolution(gridToCRS);
    }
View Full Code Here

TOP

Related Classes of org.geotools.coverage.grid.GeneralGridGeometry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.