Package hec.map.aidem
Class GrassAsciiMap
java.lang.Object
hec.map.MapObject
hec.map.aidem.AiDemBaseMap
hec.map.aidem.AiDemMap
hec.map.aidem.GrassAsciiMap
- All Implemented Interfaces:
ElevationMap
,GridMap
,MapObjectInterface
,Serializable
Ascii file that has almost the same format as the AiDem Ascii file. Just the
header is a bit different. Its the native GSSHA (Corps spreading model) uses
for its grid maps.
- See Also:
-
Field Summary
Fields inherited from class hec.map.aidem.AiDemMap
BINARY_HEADER_LENGTH, EXTENSION
Fields inherited from class hec.map.aidem.AiDemBaseMap
_cellsize, _data, _lowerLeftCorner, _maxElev, _minElev, _nodata, _numcol, _numrow
Fields inherited from class hec.map.MapObject
_debug, _extent, _fileOpener, _loaded, _mapId, mCoordinateReferencySystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
read the header from the ASCII fileMethods inherited from class hec.map.aidem.AiDemMap
ensureBinaryFile, fillArray, load, loadBin, loadHeader, mapIdentifierEquals, unload
Methods inherited from class hec.map.aidem.AiDemBaseMap
cellToWorldPt, cellToWorldPt, getAreaHeight, getAreaWidth, getData, getElevation, getElevation, getGridCellSize, getLowerLeftCorner, getMaximumElevation, getMinimumElevation, getName, getNoDataValue, getResolutionX, getResolutionY, init, setNoDataValue, supportsNoDataValue, worldPtToCell, worldPtToCell
Methods inherited from class hec.map.MapObject
equals, getCoordinateInfo, getCoordinateReferenceSystem, getExtent, getFilenames, getFileOpener, getMapIdentifier, newFile, newThenOpenFile, openFile, readProjection, setExtent, setFileOpener, setMapIdentifier, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hec.map.MapObjectInterface
getCoordinateReferenceSystem, getExtent, getMapIdentifier, setExtent, setMapIdentifier
-
Constructor Details
-
GrassAsciiMap
-
GrassAsciiMap
-
-
Method Details
-
readAsciiHeader
read the header from the ASCII file- Overrides:
readAsciiHeader
in classAiDemMap
- Parameters:
in
- reader for the ASCII file- Throws:
IOException
-