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, tileIndexes
needReload
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, storeDigestProperties
addRaster, 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, setTransformation
public static final int BLOCKSIZE
public IlvRasterUSRPReader()
public IlvRasterUSRPReader(IlvInputStream stream) throws IlvReadFileException
stream
- Stream from which to read.IlvReadFileException
protected void readGEN(String file, IlvRasterProperties loadingRaster) throws IOException
readGEN
in class IlvRasterASRPReader
file
- The path to the GEN file.loadingRaster
- Information about the current image.IOException
IlvRasterASRPReader.readGEN(java.lang.String, ilog.views.maps.raster.IlvRasterProperties)
protected void readGEN(URL url, IlvRasterProperties loadingRaster) throws IOException
readGEN
in class IlvRasterASRPReader
url
- The url to the GEN file.loadingRaster
- Information about the current image.IOException
IlvRasterASRPReader.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 IlvRasterASRPReader
file
- The path to the QAL file.loadingRaster
- Information about the current image.digestProperties
- name/value pair hashtable for metadata found in the QAL file.IOException
IlvRasterASRPReader.readQAL(java.lang.String, ilog.views.maps.raster.IlvRasterProperties, java.util.HashMap)
public void write(IlvOutputStream stream) throws IOException
write
in interface IlvPersistentObject
write
in class IlvRasterASRPReader
stream
- The output stream.IOException
- thrown when an exception occurs during
the write operation for this object.public IlvMathTransform getInternalTransformation(int imageIndex)
getInternalTransformation
in class IlvRasterASRPReader
imageIndex
- The index of the image.
method.public static boolean isUSRPFile(File file)
file
- file to check.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.