public interface RasterManager
RasterService
s.RasterService
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_MOSAICDATA |
static int |
TYPE_MULTIDATA |
Modifier and Type | Method and Description |
---|---|
Buffer |
createBuffer(int dataType,
int width,
int height,
int bandNr,
boolean malloc)
Deprecated.
Use
BufferFactory to get a BufferParams and build a Buffer
BufferParam params = RasterManager.getBufferFactory().createBufferParams(dataType, width, height, bandNr, malloc);
Buffer buffer = RasterManager.getBufferFactory().createBuffer(params); |
DataServerWriter |
createDataServerWriter()
Deprecated.
Use DAL API
NewRasterStoreParameters |
RasterFilterList |
createEmptyFilterList(int type)
Builds a new and empty filter list
|
FilterLoader |
createFilterLoader(int dataType)
Builds loader of filters using a default list of filters.
|
FilterLoader |
createFilterLoader(RasterFilterList filterList)
Builds loader of filters using a specific list of filters.
|
Historical |
createHistoricalService()
Builds a new service to recover historical objects
|
ImageDrawer |
createImageDrawerService()
Creates a service to render a buffer on a java Image object
|
Buffer |
createMemoryBuffer(int dataType,
int width,
int height,
int bandNr,
boolean malloc)
Deprecated.
Use
BufferFactory to get a BufferParams and build a Buffer
BufferParam params = RasterManager.getBufferFactory().createMemoryBufferParams(dataType, width, height, bandNr, malloc);
Buffer buffer = RasterManager.getBufferFactory().createBuffer(params); |
Params |
createParams(java.lang.String id,
java.lang.Object value,
int type,
java.lang.String[] list)
Builds a new parameter object.
|
RasterQuery |
createQuery()
Builds a new empty RasterQuery object
|
TaskEventManager |
createRasterTask(java.lang.Object process)
Registers the object as a task using the current thread ID.
|
ROIReader |
createROIReader(java.lang.String filename,
RasterDataStore store,
IProjection projection)
Creates a reader for a ROI file
|
Statistics |
createROIStatistics(AbstractROI roi)
Returns a Statistics object for a ROI
|
ROIWriter |
createROIWriter(java.lang.String filename,
IProjection projection)
Creates a writer for a ROI file
|
VectorialROI |
createVectorialROI(RasterDataStore roi)
Creates a vectorial region of interest
|
ROIReader |
createVectorialROIReader(FeatureStore roiStore,
RasterDataStore store,
IProjection projection)
Creates a reader from a
FeatureStore |
RasterWriter |
createWriter(DataServerWriter dataWriter,
java.lang.String outFileName,
int nBands,
java.awt.geom.AffineTransform at,
int outSizeX,
int outSizeY,
int dataType,
Params params,
IProjection proj)
Deprecated.
Use DAL API
NewRasterStoreParameters |
RasterWriter |
createWriter(DataServerWriter dataWriter,
java.lang.String outFileName,
int nBands,
java.awt.geom.AffineTransform at,
int outSizeX,
int outSizeY,
int dataType,
Params params,
IProjection proj,
boolean geo)
Deprecated.
Use DAL API
NewRasterStoreParameters |
RasterWriter |
createWriter(java.lang.String fName)
Deprecated.
Use DAL API
NewRasterStoreParameters |
Params |
createWriterParams(java.lang.String fileName)
Deprecated.
Use DAL API
NewRasterStoreParameters |
BufferFactory |
getBufferFactory()
Gets the factory to build buffers which store pixel data
|
ColorConversion |
getColorConversion()
Gets the object to convert color spaces
|
CRSUtils |
getCRSUtils()
Gets projection utilities
|
DataStructFactory |
getDataStructFactory()
Gets the factory for data structures
|
FileUtils |
getFileUtils()
Gets utilities for files management
|
java.lang.String[] |
getLegendFormats()
Lista de formatos soportados por RasterLegendIO
|
MathUtils |
getMathUtils()
Gets mathematical utilities
|
OverviewBuilder |
getOverviewBuilder(java.lang.String id)
Gets an instance of the overview builder registered
|
java.util.Set<java.lang.String> |
getOverviewBuilderKeyList()
Gets the list of keys in the overview builder
|
ProviderServices |
getProviderServices()
Gets the data source services
|
RasterLegend |
getRasterLegendIO(java.lang.String formatName)
Devuelve un RasterLegend para el formato especificado por parametro.
|
TaskEventManager |
getRasterTask()
Gets a register task.
|
RasterUtils |
getRasterUtils()
Gets utilities for raster management
|
boolean |
isCRSUtilSupported()
Returns true if exists any implementation registered for
this service
|
boolean |
isOverviewBuilderSupported()
REturns true if the overview builder is supported
|
static final int TYPE_MULTIDATA
static final int TYPE_MOSAICDATA
BufferFactory getBufferFactory()
BufferFactory
DataStructFactory getDataStructFactory()
ProviderServices getProviderServices()
CRSUtils getCRSUtils()
boolean isCRSUtilSupported()
FileUtils getFileUtils()
RasterUtils getRasterUtils()
MathUtils getMathUtils()
ColorConversion getColorConversion()
RasterQuery createQuery()
RasterQuery
OverviewBuilder getOverviewBuilder(java.lang.String id)
boolean isOverviewBuilderSupported()
java.util.Set<java.lang.String> getOverviewBuilderKeyList()
Historical createHistoricalService()
Statistics createROIStatistics(AbstractROI roi)
roi
- ImageDrawer createImageDrawerService()
java.lang.String[] getLegendFormats()
RasterLegend getRasterLegendIO(java.lang.String formatName) throws RasterLegendIONotFound
formatName
- RasterLegendIONotFound
TaskEventManager getRasterTask()
TaskEventManager createRasterTask(java.lang.Object process)
process
- RasterFilterList createEmptyFilterList(int type)
Params createParams(java.lang.String id, java.lang.Object value, int type, java.lang.String[] list)
id
- value
- type
- list
- FilterLoader createFilterLoader(int dataType)
dataType
- FilterLoader createFilterLoader(RasterFilterList filterList)
dataType
- ROIReader createROIReader(java.lang.String filename, RasterDataStore store, IProjection projection) throws ROIException, FileNotExistsException
filename
- file name where the regionsstore
- data store associated to these regionsprojection
- Regions projectionbbox
- FileNotExistsException
ROIException
ROIReader createVectorialROIReader(FeatureStore roiStore, RasterDataStore store, IProjection projection)
FeatureStore
roiStore
- store
- projection
- ROIException
FileNotExistsException
ROIWriter createROIWriter(java.lang.String filename, IProjection projection)
filename
- projection
- VectorialROI createVectorialROI(RasterDataStore roi)
roi
- Buffer createBuffer(int dataType, int width, int height, int bandNr, boolean malloc)
BufferFactory
to get a BufferParams
and build a Buffer
BufferParam params = RasterManager.getBufferFactory().createBufferParams(dataType, width, height, bandNr, malloc);
Buffer buffer = RasterManager.getBufferFactory().createBuffer(params);dataType
- Tipo de datowidth
- Anchoheight
- AltobandNr
- Bandaflag
- En caso de buffers de memoria este flag a true significa que se reserva la memoria
para el buffer de forma normal y si está a false no se reserva por lo que la reserva deberá ser
posterior.RasterDriverException
NotSupportedExtensionException
java.io.FileNotFoundException
Buffer createMemoryBuffer(int dataType, int width, int height, int bandNr, boolean malloc)
BufferFactory
to get a BufferParams
and build a Buffer
BufferParam params = RasterManager.getBufferFactory().createMemoryBufferParams(dataType, width, height, bandNr, malloc);
Buffer buffer = RasterManager.getBufferFactory().createBuffer(params);dataType
- Tipo de datowidth
- Anchoheight
- AltobandNr
- Bandaflag
- En caso de buffers de memoria este flag a true significa que se reserva la memoria
para el buffer de forma normal y si está a false no se reserva por lo que la reserva deberá ser
posterior.RasterWriter createWriter(java.lang.String fName) throws NotSupportedExtensionException, RasterDriverException
NewRasterStoreParameters
fName
- Nombre del fichero.NotSupportedExtensionException
RasterDriverException
RasterWriter createWriter(DataServerWriter dataWriter, java.lang.String outFileName, int nBands, java.awt.geom.AffineTransform at, int outSizeX, int outSizeY, int dataType, Params params, IProjection proj) throws NotSupportedExtensionException, RasterDriverException
NewRasterStoreParameters
fName
- Nombre del fichero.NotSupportedExtensionException
RasterDriverException
RasterWriter createWriter(DataServerWriter dataWriter, java.lang.String outFileName, int nBands, java.awt.geom.AffineTransform at, int outSizeX, int outSizeY, int dataType, Params params, IProjection proj, boolean geo) throws NotSupportedExtensionException, RasterDriverException
NewRasterStoreParameters
fName
- Nombre del fichero.NotSupportedExtensionException
RasterDriverException
Params createWriterParams(java.lang.String fileName)
NewRasterStoreParameters
DataServerWriter createDataServerWriter()
NewRasterStoreParameters