public class IlvRasterUSRPReader extends IlvRasterASRPReader
IlvRasterASRPReader and overrides its base methods, searching for USRP specific content.IlvRasterASRPReader.ASRPProjection, IlvRasterASRPReader.FieldPosition, IlvRasterASRPReader.SubFieldPosition, IlvRasterASRPReader.TagInfo| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCKSIZE
The size to give to the tiles of the image to be loaded.
|
imgFileName, internalTransformation, tileIndexesneedReload| Constructor and Description |
|---|
IlvRasterUSRPReader()
Default constructor.
|
IlvRasterUSRPReader(IlvInputStream stream)
Constructor to reconstruct an image reader from saved information.
|
| Modifier and Type | Method and Description |
|---|---|
IlvMathTransform |
getInternalTransformation(int imageIndex)
Returns a UTM projection set for the zone of the USRP to cover.
|
static boolean |
isUSRPFile(File file)
Checks if a file could be an USRP GEN File by checking its content.
|
protected void |
readGEN(String file,
IlvRasterProperties loadingRaster)
Reads the GEN file of a ASRP image.
|
protected void |
readGEN(URL url,
IlvRasterProperties loadingRaster)
Reads the GEN file of a ASRP image.
|
protected void |
readQAL(String file,
IlvRasterProperties loadingRaster,
HashMap<String,String> digestProperties)
Reads the QAL file of a ASRP image.
|
void |
write(IlvOutputStream stream)
Writes the attributes of a persistent object.
|
addMap, addMap, getCoordinateSystem, getDoubleField, getIntField, getProperties, getStringField, isASRPFile, openStream, openStream, parseFields, parseTags, readData, readIMG, readIMG, readQAL, reload, storeDigestPropertiesaddRaster, computeGisImageBounds, computeLimits, createRasterTileLoader, dispose, getDefaultFeatureRenderer, getDefaultMaximumIntervalsForDeterminingImageLocation, getImageBounds, getImageCount, getInverseTransformation, getLowerRightCorner, getLowerRightCorner, getMaximumIntervalsForDeterminingImageLocation, getNextFeature, getRasterMappedBuffer, getRasterProperties, getTileLoader, getTileLoader, getTileLoaders, getTransformation, getUpperLeftCorner, getUpperLeftCorner, isForceImageLoadingWhenSaving, isGeoreferenced, isHighQualityRendering, isNeedReload, removeRaster, restart, setDefaultMaximumIntervalsForDeterminingImageLocation, setForceImageLoadingWhenSaving, setHighQualityRendering, setMaximumIntervalsForDeterminingImageLocation, setTransformationpublic static final int BLOCKSIZE
public IlvRasterUSRPReader()
public IlvRasterUSRPReader(IlvInputStream stream) throws IlvReadFileException
stream - Stream from which to read.IlvReadFileExceptionprotected void readGEN(String file, IlvRasterProperties loadingRaster) throws IOException
readGEN in class IlvRasterASRPReaderfile - The path to the GEN file.loadingRaster - Information about the current image.IOExceptionIlvRasterASRPReader.readGEN(java.lang.String, ilog.views.maps.raster.IlvRasterProperties)protected void readGEN(URL url, IlvRasterProperties loadingRaster) throws IOException
readGEN in class IlvRasterASRPReaderurl - The url to the GEN file.loadingRaster - Information about the current image.IOExceptionIlvRasterASRPReader.readGEN(java.net.URL, ilog.views.maps.raster.IlvRasterProperties)protected void readQAL(String file, IlvRasterProperties loadingRaster, HashMap<String,String> digestProperties) throws IOException
readQAL in class IlvRasterASRPReaderfile - The path to the QAL file.loadingRaster - Information about the current image.digestProperties - name/value pair hashtable for metadata found in the QAL file.IOExceptionIlvRasterASRPReader.readQAL(java.lang.String, ilog.views.maps.raster.IlvRasterProperties, java.util.HashMap)public void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectwrite in class IlvRasterASRPReaderstream - The output stream.IOException - thrown when an exception occurs during
the write operation for this object.public IlvMathTransform getInternalTransformation(int imageIndex)
getInternalTransformation in class IlvRasterASRPReaderimageIndex - The index of the image.
method.public static boolean isUSRPFile(File file)
file - file to check.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.