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 JGrassRegion
JGrassRegion.adaptActiveRegionToEnvelope
(Envelope sourceEnvelope, JGrassRegion sourceRegion) Creates a region from envelope bounds snapped to a region grid.JGrassMapEnvironment.getActiveRegion()
Read theJGrassRegion
from the active region file.static JGrassRegion
JGrassRegion.getActiveRegionFromMapset
(String mapsetPath) Computes the active region from the supplied mapset path.JGrassMapEnvironment.getFileRegion()
Read the file region of the map.static JGrassRegion
JGrassUtilities.getJGrassRegionFromGridCoverage
(GridCoverage2D gridCoverage2D) static JGrassRegion
JGrassUtilities.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 JGrassRegion
JGrassRegion.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 JGrassRegion
JGrassUtilities.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 Coordinate
JGrassUtilities.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, wvoid
JGrassRegion.setExtent
(JGrassRegion region) Sets the extent of this window using another window.void
GrassBinaryImageWriter.setOutput
(Object output, JGrassRegion writeRegion) static Coordinate
JGrassRegion.snapToNextHigherInRegionResolution
(double x, double y, JGrassRegion region) Snaps a geographic point to be on the region grid.static void
JGrassRegion.writeDEFAULTWINDToLocation
(String locationPath, JGrassRegion region) Write default region to the PERMANENT mapset.static void
JGrassRegion.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 ofJGrassRegion
by 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 TypeMethodDescriptionvoid
GrassBinaryRasterWriteHandler.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