appl.parallel.data.xulugridfile
Class XuluGridFileConverter
java.lang.Object
ArcGridRaster
appl.parallel.data.xulugridfile.XuluGridFileConverter
public class XuluGridFileConverter
- extends ArcGridRaster
This class converts a ArcGridInfo_ASCII file to a XuluGridFile
. It directly writes from
the the ArcGridInfo to the given file. It does not use the memory!
It is a modified geotools import class. Buffering was added.
- Author:
- Dominik Appl
For reading this class is based partly on the Geotools class ArcGridRaster
. This was
done to make sure that EVERY ArcInfoASCII can be read. The used ArcGridRaster
was created by
, Christiaan ten Klooster, Andrea Aime, Simone Giannecchini
(simboss)
- See Also:
XuluGridFile
,
http://svn.geotools.org/geotools/tags/2.2.0/plugin/arcgrid/src/org/geotools/gce/arcgrid/ArcGridRaster.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputArcInfoGrid
protected final File inputArcInfoGrid
outputXuluGridFile
protected final File outputXuluGridFile
XuluGridFileConverter
public XuluGridFileConverter(File inputArcInfoGrid,
File outputXuluGridFile)
throws FileNotFoundException
- Throws:
FileNotFoundException
convertArcInfoToXuluGridFile
public XuluGridFile convertArcInfoToXuluGridFile(int type)
throws IOException,
XuluGridFileException
- partly copied from Geotools. www.geotools.org.
- Parameters:
type
- the type of the values. Use the
DataBuffer
constants to identify the type
- Returns:
- the new XuluGridFile
- Throws:
IOException
XuluGridFileException
main
public static void main(String[] args)
- You can use this method to manually convert datatypes
- Parameters:
args
-
parameterMessage
public static void parameterMessage()