public class IlvGTopo30Reader extends IlvRasterAbstractReader
IlvGTopo30Reader r = new IlvGTopo30Reader(); r.addMap(fileName);
needReload| Constructor and Description |
|---|
IlvGTopo30Reader()
Creates a new instance of IlvGTopo30Reader.
|
IlvGTopo30Reader(IlvInputStream stream)
Creates a
IlvGTopo30Reader from an IlvInputStream |
| Modifier and Type | Method and Description |
|---|---|
void |
addMap(String filename)
Adds a new GTOPO30 image.
|
void |
addMap(URL url)
Adds a new GTOPO30 image specified by an URL.
|
IlvCoordinateSystem |
getCoordinateSystem()
|
IlvMathTransform |
getInternalTransformation(int imageIndex)
Return the projection associated with the raster stored at the given
index.
|
IlvFeatureAttributeProperty |
getProperties(int imageIndex)
Returns the feature properties to be associated with the image.
|
void |
reload(IlvThreadMonitoringData monitorInfo)
Given the state of the reader (the number of images read, coverage zone,...), the purpose of this method
is to recreate all images from the original source.
|
void |
write(IlvOutputStream stream)
Writes the attributes of a persistent object.
|
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, setTransformationpublic IlvGTopo30Reader()
public IlvGTopo30Reader(IlvInputStream stream) throws IlvReadFileException
IlvGTopo30Reader from an IlvInputStreamstream - The stream to read from.IlvReadFileException - if an exception occurs.public void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectwrite in class IlvRasterAbstractReaderstream - The output stream.IOException - thrown when an exception occurs during
the write operation for this object.public void reload(IlvThreadMonitoringData monitorInfo)
IlvRasterProperties of the reader as they
might not be saved when the theme only is saved.reload in class IlvRasterAbstractReadermonitorInfo - used to update task progress.public void addMap(String filename) throws IOException
filename - Path pointing to one of the GTopo30 files (.dem, .hdr, .src, .sch, .stx).
The color model is built through the use of a { @link IlvRasterElevationColorModelFactory}IOException - if the fileName is an unrecognized file.public void addMap(URL url) throws IOException
url - URL pointing to one of the GTopo30 files (.dem, .hdr, .src, .sch, .stx).
The color model is built through the use of a { @link IlvRasterElevationColorModelFactory}IOException - if the url is an unrecognized URL.public IlvMathTransform getInternalTransformation(int imageIndex)
getInternalTransformation in class IlvRasterAbstractReaderimageIndex - The index of the raster.IlvRasterAbstractReader.getInternalTransformation(int)public IlvCoordinateSystem getCoordinateSystem()
IlvMapFeatureIterator.getCoordinateSystem()public IlvFeatureAttributeProperty getProperties(int imageIndex)
getProperties in class IlvRasterAbstractReaderimageIndex - The index of the image.IlvRasterAbstractReader.getProperties(int)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.