Package org.locationtech.udig.tools.jgrass.profile.borrowedfromjgrasstools

Examples of org.locationtech.udig.tools.jgrass.profile.borrowedfromjgrasstools.RegionMap


                        try {
                            rasterMapResource = (GridCoverage2D) geoResource.resolve(GridCoverage.class,
                                    new NullProgressMonitor());
                            rasterMapResource = rasterMapResource.view(ViewType.GEOPHYSICS);

                            RegionMap regionMap = CoverageUtilities.getRegionParamsFromGridCoverage(rasterMapResource);
                            double xres = regionMap.getXres();
                            double yres = regionMap.getYres();
                            step = Math.min(xres, yres);

                            Display.getDefault().syncExec(new Runnable(){
                                public void run() {
                                    final IStatusLineManager statusBar = getContext().getActionBars().getStatusLineManager();
View Full Code Here


                }

            }
            if (geoResource.canResolve(GridCoverage.class)) {
                coverage = (GridCoverage2D) geoResource.resolve(GridCoverage.class, monitor);
                RegionMap regionMap = CoverageUtilities.getRegionParamsFromGridCoverage(coverage);
                double xres = regionMap.getXres();
                double yres = regionMap.getYres();
                step = Math.min(xres, yres);
            }
        }

        if (lineFeature == null || coverage == null) {
View Full Code Here

TOP

Related Classes of org.locationtech.udig.tools.jgrass.profile.borrowedfromjgrasstools.RegionMap

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.