public class ErmapperWriter extends DefaultRasterWriter
Modifier and Type | Field and Description |
---|---|
String |
panelLayout |
int |
panelSizeX |
int |
panelSizeY |
int |
windowSizeX |
int |
windowSizeY |
at, colorInterp, dataType, dataWriter, driver, driverParams, extCancellable, fileUtil, ident, inFileName, MODE_DATAWRITE, MODE_FILEWRITE, nBands, outFileName, percent, pInfo, proj, rasterUtil, sizeWindowX, sizeWindowY, ulX, ulY
Constructor and Description |
---|
ErmapperWriter(DataServerWriter dataWriter,
String outFileName,
Integer nBands,
AffineTransform at,
Integer outSizeX,
Integer outSizeY,
Integer dataType,
Params params,
IProjection proj,
Boolean geo)
Constructor para la lectura de datos desde el objeto cliente a partir de un
viewport dado.
|
ErmapperWriter(String fileName)
Constructor para la obtención de parámetros del driver.
|
Modifier and Type | Method and Description |
---|---|
void |
dataWrite()
Realiza la función de compresión a partir de los datos pasados por el cliente.
|
void |
fileWrite()
Realiza la función de compresión a partir de un GeoRasterFile.
|
String |
getProviderName()
Gets the provider name of this
RasterWriter |
void |
loadParams()
Carga los parámetros de este driver.
|
static void |
register() |
void |
setCancellableRasterDriver(ExternalCancellable cancellable)
Assigns the object to be cancelled
|
void |
setProps(String[] props)
Asigna propiedades al driver a partir de un vector de
strings donde cada elemento tiene la estructura de
propiedad=valor.
|
void |
setWkt(String wkt)
Añade la proyección Wkt con la que salvar.
|
void |
writeCancel()
Cancela el compresor ecw.
|
void |
writeClose()
Cierra el compresor ecw.
|
getDriverName, getDriverType, getIdent, getParams, getPercent, savePrjFile, setColorBandsInterpretation, setParams, setPercent
public final int windowSizeX
public final int windowSizeY
public final int panelSizeX
public final int panelSizeY
public final String panelLayout
public ErmapperWriter(String fileName)
public ErmapperWriter(DataServerWriter dataWriter, String outFileName, Integer nBands, AffineTransform at, Integer outSizeX, Integer outSizeY, Integer dataType, Params params, IProjection proj, Boolean geo) throws es.gva.cit.jecwcompress.EcwException, IOException
dataWriter
- Objeto que sirve datos para el escritoroutFileName
- Fichero de salidanBands
- Número de bandasat
- outSizeX
- outSizeY
- dataType
- params
- proj
- geo
- es.gva.cit.jecwcompress.EcwException
IOException
public static void register()
public void loadParams()
public String getProviderName()
RasterWriter
RasterWriter
public void setProps(String[] props)
props
- Propiedadespublic void fileWrite() throws IOException
fileWrite
in class DefaultRasterWriter
IOException
public void dataWrite() throws IOException, ProcessInterruptedException
dataWrite
in interface RasterWriter
dataWrite
in class DefaultRasterWriter
IOException
ProcessInterruptedException
public void writeClose()
writeClose
in interface RasterWriter
writeClose
in class DefaultRasterWriter
public void writeCancel()
writeCancel
in interface RasterWriter
writeCancel
in class DefaultRasterWriter
public void setWkt(String wkt)
DefaultRasterWriter
setWkt
in interface RasterWriter
setWkt
in class DefaultRasterWriter
public void setCancellableRasterDriver(ExternalCancellable cancellable)
DefaultRasterWriter
setCancellableRasterDriver
in interface RasterWriter
setCancellableRasterDriver
in class DefaultRasterWriter