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, EXTENSIONFields inherited from class hec.map.aidem.AiDemBaseMap
_cellsize, _data, _lowerLeftCorner, _maxElev, _minElev, _nodata, _numcol, _numrowFields inherited from class hec.map.MapObject
_debug, _extent, _fileOpener, _loaded, _mapId, mCoordinateReferencySystem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanread the header from the ASCII fileMethods inherited from class hec.map.aidem.AiDemMap
ensureBinaryFile, fillArray, load, loadBin, loadHeader, mapIdentifierEquals, unloadMethods 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, worldPtToCellMethods inherited from class hec.map.MapObject
equals, getCoordinateInfo, getCoordinateReferenceSystem, getExtent, getFilenames, getFileOpener, getMapIdentifier, newFile, newThenOpenFile, openFile, readProjection, setExtent, setFileOpener, setMapIdentifier, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
readAsciiHeaderin classAiDemMap- Parameters:
in- reader for the ASCII file- Throws:
IOException
-