Package | Description |
---|---|
org.geotools.gce.grassraster |
GRASS input/output drivers
In this package the I/O drivers for reading and writing GRASS raster maps are placed.
|
org.geotools.gce.grassraster.core |
Modifier and Type | Method and Description |
---|---|
static JGrassRegion |
JGrassRegion.adaptActiveRegionToEnvelope(Envelope sourceEnvelope,
JGrassRegion sourceRegion)
Creates a region from envelope bounds snapped to a region grid.
|
JGrassRegion |
JGrassMapEnvironment.getActiveRegion()
Read the
JGrassRegion from the active region file. |
static JGrassRegion |
JGrassRegion.getActiveRegionFromMapset(String mapsetPath)
Computes the active region from the supplied mapset path.
|
JGrassRegion |
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 coordinates
|
JGrassRegion |
GrassCoverageReadParam.getRequestedWorldRegion()
Getter for the active region
|
JGrassRegion |
JGrassRegion.reproject(CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS,
boolean lenient)
Reprojects a
region . |
Modifier and Type | Method and Description |
---|---|
List<JGrassRegion> |
JGrassRegion.toSubRegions(int subregionsNum) |
Modifier and Type | Method and Description |
---|---|
static 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 *
NOTE: basically the inverse of
JGrassUtilities.rowColToCenterCoordinates(JGrassRegion, int, int) |
static JGrassRegion |
JGrassUtilities.getRectangleAroundPoint(JGrassRegion activeRegion,
double x,
double y)
return the rectangle of the cell of the active region, that surrounds the given coordinates
|
GridCoverage2D |
GrassCoverageReader.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, w
|
void |
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.
|
Constructor and Description |
---|
GrassCoverageReadParam(JGrassRegion requestedWorldRegion)
Constructs a
GrassCoverageReadParam . |
JGrassRegion(JGrassRegion region)
Creates a new instance of
JGrassRegion by duplicating an existing region. |
Modifier and Type | Method and Description |
---|---|
JGrassRegion |
CompressesRasterWriter.getDataWindow() |
JGrassRegion |
GrassBinaryRasterReadHandler.getNativeRasterRegion()
Getter for nativeRasterRegion.
|
JGrassRegion |
GrassBinaryRasterWriteHandler.getWriteRegion()
Calculates the region that is going to be written.
|
Modifier and Type | Method and Description |
---|---|
void |
GrassBinaryRasterWriteHandler.setWriteRegion(JGrassRegion writeRegion) |
Constructor and Description |
---|
CompressesRasterWriter(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
|
Copyright © 1996–2019 Geotools. All rights reserved.