|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.leeds.ccg.andyt.grids.exchange.ESRIAsciiGridImporter
public class ESRIAsciiGridImporter
Class for importing ESRI Asciigrid.
| Field Summary | |
|---|---|
Grid2DSquareCellProcessor |
_Grid2DSquareCellProcessor
|
| Constructor Summary | |
|---|---|
ESRIAsciiGridImporter(java.io.File file,
Grid2DSquareCellProcessor _Grid2DSquareCellProcessor)
|
|
ESRIAsciiGridImporter(java.io.File file,
java.util.HashSet _Grid2DSquareCells)
Creates a new instance of ESRIAsciiGridImporter |
|
| Method Summary | |
|---|---|
protected Grid2DSquareCellDouble |
_ConstructGrid2DSquareCellDouble_Protected(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellDoubleChunkFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
Returns a Grid2DSquareCellDouble loaded from this.file |
Grid2DSquareCellDouble |
_ConstructGrid2DSquareCellDouble(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellDoubleChunkFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
|
protected Grid2DSquareCellInt |
_ConstructGrid2DSquareCellInt_Protected(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellIntChunkFactory grid2DSquareCellIntChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
} |
Grid2DSquareCellInt |
_ConstructGrid2DSquareCellInt(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellIntChunkFactory grid2DSquareCellIntChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
|
void |
close()
For closing this.bufferedReader. |
java.lang.String |
getFilenamePrefix()
Returns the prefix (before "." part of filename of this.file. |
double |
readDouble()
Returns the next value as a double or Double.NEGATIVE_INFINITY |
double[] |
readHeaderDouble()
Reads the header of the file and returns a double[] where; [0] = (double) ncols; [1] = (double) nrows; [2] = xllcorner; [3] = yllcorner; [4] = cellsize; [5] = noDataValue if it exists or Double.NEGATIVE_INFINITY otherwise |
java.lang.Object[] |
readHeaderObject()
Reads the header of the file and returns a Object[] where; [0] = Long( ncols ); [1] = (double) nrows; [2] = xllcorner; [3] = yllcorner; [4] = cellsize; [5] = noDataValue if it exists or Double.NEGATIVE_INFINITY otherwise |
int |
readInt()
Returns the next value as a int or Integer.MIN_VALUE |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Grid2DSquareCellProcessor _Grid2DSquareCellProcessor
| Constructor Detail |
|---|
public ESRIAsciiGridImporter(java.io.File file,
Grid2DSquareCellProcessor _Grid2DSquareCellProcessor)
file - _Grid2DSquareCellProcessor -
public ESRIAsciiGridImporter(java.io.File file,
java.util.HashSet _Grid2DSquareCells)
| Method Detail |
|---|
public Grid2DSquareCellInt _ConstructGrid2DSquareCellInt(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellIntChunkFactory grid2DSquareCellIntChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
protected Grid2DSquareCellInt _ConstructGrid2DSquareCellInt_Protected(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellIntChunkFactory grid2DSquareCellIntChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
public Grid2DSquareCellDouble _ConstructGrid2DSquareCellDouble(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellDoubleChunkFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
protected Grid2DSquareCellDouble _ConstructGrid2DSquareCellDouble_Protected(AbstractGridStatistics gridStatistics,
java.io.File outputDirectory,
AbstractGrid2DSquareCellDoubleChunkFactory grid2DSquareCellDoubleChunkFactory,
int chunkNrows,
int chunkNcols,
boolean _HandleOutOfMemoryError)
public double[] readHeaderDouble()
public java.lang.Object[] readHeaderObject()
public double readDouble()
public int readInt()
public void close()
public java.lang.String getFilenamePrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||