uk.ac.leeds.ccg.andyt.grids.exchange
Class ESRIAsciiGridExporter
java.lang.Object
uk.ac.leeds.ccg.andyt.grids.utilities.ErrorHandler
uk.ac.leeds.ccg.andyt.grids.exchange.ESRIAsciiGridExporter
- All Implemented Interfaces:
- java.io.Serializable
public class ESRIAsciiGridExporter
- extends ErrorHandler
Class for exporting ESRI Asciigrid.
- See Also:
- Serialized Form
Method Summary |
java.io.File |
toAsciiFile(Grid2DSquareCellAbstract grid2DSquareCell)
Writes grid2DSquareCell out to file in ESRI Asciigrid format and returns
a the File to which it was written. |
java.io.File |
toAsciiFile(Grid2DSquareCellAbstract grid2DSquareCell,
java.io.File file)
Writes grid2DSquareCell out to file in ESRI Asciigrid format and returns
file. |
java.io.File |
toAsciiFile(Grid2DSquareCellAbstract grid2DSquareCell,
java.io.File file,
java.math.BigDecimal noDataValueBigDecimal)
Writes grid2DSquareCell out to file in ESRI Asciigrid format and returns
file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ESRIAsciiGridExporter
public ESRIAsciiGridExporter()
- Creates a new instance of ESRIAsciiGridExporter
toAsciiFile
public java.io.File toAsciiFile(Grid2DSquareCellAbstract grid2DSquareCell)
- Writes grid2DSquareCell out to file in ESRI Asciigrid format and returns
a the File to which it was written.
- Parameters:
grid2DSquareCell
- The Grid2DSquareCellAbstract for export.
toAsciiFile
public java.io.File toAsciiFile(Grid2DSquareCellAbstract grid2DSquareCell,
java.io.File file)
- Writes grid2DSquareCell out to file in ESRI Asciigrid format and returns
file.
- Parameters:
grid2DSquareCell
- The Grid2DSquareCellAbstract for export.file
- The File to export to.
toAsciiFile
public java.io.File toAsciiFile(Grid2DSquareCellAbstract grid2DSquareCell,
java.io.File file,
java.math.BigDecimal noDataValueBigDecimal)
- Writes grid2DSquareCell out to file in ESRI Asciigrid format and returns
file.
- Parameters:
grid2DSquareCell
- The Grid2DSquareCellAbstract for export.file
- The File to export to.noDataValueBigDecimal
- The value to be used or substituted as a
noDataValue for grid2DSquareCell.