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(String id,
Object value,
int type,
String[] list)
Builds a new parameter object.
|
RasterQuery |
createQuery()
Builds a new empty RasterQuery object
|
TaskEventManager |
createRasterTask(Object process)
Registers the object as a task using the current thread ID.
|
ROIReader |
createROIReader(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(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,
String outFileName,
int nBands,
AffineTransform at,
int outSizeX,
int outSizeY,
int dataType,
Params params,
IProjection proj)
Deprecated.
Use DAL API
NewRasterStoreParameters |
RasterWriter |
createWriter(DataServerWriter dataWriter,
String outFileName,
int nBands,
AffineTransform at,
int outSizeX,
int outSizeY,
int dataType,
Params params,
IProjection proj,
boolean geo)
Deprecated.
Use DAL API
NewRasterStoreParameters |
RasterWriter |
createWriter(String fName)
Deprecated.
Use DAL API
NewRasterStoreParameters |
Params |
createWriterParams(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
|
String[] |
getLegendFormats()
Lista de formatos soportados por RasterLegendIO
|
MathUtils |
getMathUtils()
Gets mathematical utilities
|
OverviewBuilder |
getOverviewBuilder(String id)
Gets an instance of the overview builder registered
|
Set<String> |
getOverviewBuilderKeyList()
Gets the list of keys in the overview builder
|
ProviderServices |
getProviderServices()
Gets the data source services
|
RasterLegend |
getRasterLegendIO(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(String id)
boolean isOverviewBuilderSupported()
Set<String> getOverviewBuilderKeyList()
Historical createHistoricalService()
Statistics createROIStatistics(AbstractROI roi)
roi
- ImageDrawer createImageDrawerService()
String[] getLegendFormats()
RasterLegend getRasterLegendIO(String formatName) throws RasterLegendIONotFound
formatName
- RasterLegendIONotFound
TaskEventManager getRasterTask()
TaskEventManager createRasterTask(Object process)
process
- RasterFilterList createEmptyFilterList(int type)
Params createParams(String id, Object value, int type, String[] list)
id
- value
- type
- list
- FilterLoader createFilterLoader(int dataType)
dataType
- FilterLoader createFilterLoader(RasterFilterList filterList)
dataType
- ROIReader createROIReader(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(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
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(String fName) throws NotSupportedExtensionException, RasterDriverException
NewRasterStoreParameters
fName
- Nombre del fichero.NotSupportedExtensionException
RasterDriverException
RasterWriter createWriter(DataServerWriter dataWriter, String outFileName, int nBands, 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, String outFileName, int nBands, 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(String fileName)
NewRasterStoreParameters
DataServerWriter createDataServerWriter()
NewRasterStoreParameters