rdf4j-postgis  Version 0.1.0.0
RasterIterator Class Reference
Inheritance diagram for RasterIterator:
Collaboration diagram for RasterIterator:

Public Member Functions

GridCoverage execute (GridCoverage inputGc)
 

Static Public Attributes

static final double DOUBLE_COMPARE_TOLERANCE = 0.00000001d
 Default tolerance for double comparisons: 1.0e-8 = 0.00000001. More...
 
static final float FLOAT_COMPARE_TOLERANCE = 0.0001f
 Default tolerance for float comparisons: 1.0e-4 = 0.0001. More...
 

Protected Attributes

double srcNoData = -Float.MAX_VALUE
 
double CellSizeX =30.
 
double CellSizeY =30.
 
double _8DX = CellSizeX * 8
 
double _8DY = CellSizeY * 8
 
PlanarImage image
 
java.awt.Rectangle bounds
 
Envelope Extent = null
 
double NoData = Float.MIN_VALUE
 
double MinValue = Double.MAX_VALUE
 
double MaxValue = Double.MIN_VALUE
 

Private Attributes

int maxCol
 
int maxRow
 

Member Function Documentation

◆ execute()

GridCoverage execute ( GridCoverage  inputGc)
11  {
12  //initSurface(inputGc);
13 /*
14  DiskMemImage outputImage = this.createDiskMemImage(inputGc, RasterPixelType.FLOAT);
15  WritableRectIter writer = RectIterFactory.createWritable(outputImage,
16  outputImage.getBounds());
17 
18  GridCoordinates pos = new GridCoordinates();
19 
20  int y = bounds.y;
21  writer.startLines();
22  while (!writer.finishedLines()) {
23 
24  int x = bounds.x;
25  writer.startPixels();
26  while (!writer.finishedPixels()) {
27  pos.setLocation(x, y);
28 
29  visitTPI(writer, pos);
30 
31  writer.nextPixel();
32  x++;
33  }
34 
35  writer.nextLine();
36  y++;
37  }
38 
39  return createGridCoverage("TPI", outputImage);
40 
41  */return null;}

Member Data Documentation

◆ _8DX

double _8DX = CellSizeX * 8
protectedinherited

◆ _8DY

double _8DY = CellSizeY * 8
protectedinherited

◆ bounds

java.awt.Rectangle bounds
protectedinherited

◆ CellSizeX

double CellSizeX =30.
protectedinherited

◆ CellSizeY

double CellSizeY =30.
protectedinherited

◆ DOUBLE_COMPARE_TOLERANCE

final double DOUBLE_COMPARE_TOLERANCE = 0.00000001d
staticinherited

Default tolerance for double comparisons: 1.0e-8 = 0.00000001.

◆ Extent

Envelope Extent = null
protectedinherited

◆ FLOAT_COMPARE_TOLERANCE

final float FLOAT_COMPARE_TOLERANCE = 0.0001f
staticinherited

Default tolerance for float comparisons: 1.0e-4 = 0.0001.

◆ image

PlanarImage image
protectedinherited

◆ maxCol

int maxCol
privateinherited

◆ maxRow

int maxRow
privateinherited

◆ MaxValue

double MaxValue = Double.MIN_VALUE
protectedinherited

◆ MinValue

double MinValue = Double.MAX_VALUE
protectedinherited

◆ NoData

double NoData = Float.MIN_VALUE
protectedinherited

◆ srcNoData

double srcNoData = -Float.MAX_VALUE
protectedinherited