Uses of Class
org.geotools.gce.grassraster.JGrassRegion
Packages that use JGrassRegion
Package
Description
GRASS input/output drivers
-
Uses of JGrassRegion in org.geotools.gce.grassraster
Methods in org.geotools.gce.grassraster that return JGrassRegionModifier and TypeMethodDescriptionstatic JGrassRegionJGrassRegion.adaptActiveRegionToEnvelope(Envelope sourceEnvelope, JGrassRegion sourceRegion) Creates a region from envelope bounds snapped to a region grid.JGrassMapEnvironment.getActiveRegion()Read theJGrassRegionfrom the active region file.static JGrassRegionJGrassRegion.getActiveRegionFromMapset(String mapsetPath) Computes the active region from the supplied mapset path.JGrassMapEnvironment.getFileRegion()Read the file region of the map.static JGrassRegionJGrassUtilities.getJGrassRegionFromGridCoverage(GridCoverage2D gridCoverage2D) static JGrassRegionJGrassUtilities.getRectangleAroundPoint(JGrassRegion activeRegion, double x, double y) return the rectangle of the cell of the active region, that surrounds the given coordinatesGrassCoverageReadParam.getRequestedWorldRegion()Getter for the active regionJGrassRegion.reproject(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, boolean lenient) Reprojects aregion.Methods in org.geotools.gce.grassraster that return types with arguments of type JGrassRegionMethods in org.geotools.gce.grassraster with parameters of type JGrassRegionModifier and TypeMethodDescriptionstatic JGrassRegionJGrassRegion.adaptActiveRegionToEnvelope(Envelope sourceEnvelope, JGrassRegion sourceRegion) Creates a region from envelope bounds snapped to a region grid.static int[]JGrassUtilities.coordinateToNearestRowCol(JGrassRegion active, Coordinate coord) Return the row and column of the active region matrix for a give coordinate *static JGrassRegionJGrassUtilities.getRectangleAroundPoint(JGrassRegion activeRegion, double x, double y) return the rectangle of the cell of the active region, that surrounds the given coordinatesGrassCoverageReader.readRaster(JGrassRegion region) Performs the reading of the coverage.static CoordinateJGrassUtilities.rowColToCenterCoordinates(JGrassRegion active, int row, int col) Transforms row and column index of the active region into the regarding northing and easting coordinates.static double[]JGrassUtilities.rowColToNodeboundCoordinates(JGrassRegion active, int row, int col) Transforms row and column index of the active region into an array of the coordinates of the edgaes, i.e. n, s, e, wvoidJGrassRegion.setExtent(JGrassRegion region) Sets the extent of this window using another window.voidGrassBinaryImageWriter.setOutput(Object output, JGrassRegion writeRegion) static CoordinateJGrassRegion.snapToNextHigherInRegionResolution(double x, double y, JGrassRegion region) Snaps a geographic point to be on the region grid.static voidJGrassRegion.writeDEFAULTWINDToLocation(String locationPath, JGrassRegion region) Write default region to the PERMANENT mapset.static voidJGrassRegion.writeWINDToMapset(String mapsetPath, JGrassRegion activeRegion) Writes active region window to the supplied mapset.Constructors in org.geotools.gce.grassraster with parameters of type JGrassRegionModifierConstructorDescriptionGrassCoverageReadParam(JGrassRegion requestedWorldRegion) Constructs aGrassCoverageReadParam.JGrassRegion(JGrassRegion region) Creates a new instance ofJGrassRegionby duplicating an existing region. -
Uses of JGrassRegion in org.geotools.gce.grassraster.core
Methods in org.geotools.gce.grassraster.core that return JGrassRegionModifier and TypeMethodDescriptionCompressesRasterWriter.getDataWindow()GrassBinaryRasterReadHandler.getNativeRasterRegion()Getter for nativeRasterRegion.GrassBinaryRasterWriteHandler.getWriteRegion()Calculates the region that is going to be written.Methods in org.geotools.gce.grassraster.core with parameters of type JGrassRegionModifier and TypeMethodDescriptionvoidGrassBinaryRasterWriteHandler.setWriteRegion(JGrassRegion writeRegion) Constructors in org.geotools.gce.grassraster.core with parameters of type JGrassRegionModifierConstructorDescriptionCompressesRasterWriter(int _outputToDiskType, double _novalue, boolean _jump, double[] _range, long _pointerInFilePosition, long[] _rowaddresses, JGrassRegion _dataWindow, ProgressListener monitor, String mapName) Preparing the environment for compressing and writing the map to disk