public interface ProviderServices
Modifier and Type | Method and Description |
---|---|
void |
addFormat(java.lang.String ext,
java.lang.Class<?> c)
Register a format and a provider which is capable to manage this format
|
RasterDataParameters |
createNotTiledParameters(java.lang.String id)
Builds a
RasterStoreParameters using a file name. |
RasterDataParameters |
createParameters(java.lang.String id)
Builds a
RasterStoreParameters using a file name. |
RasterDataParameters |
createParametersForTiledFiled(java.lang.String id)
Builds a
RasterStoreParameters for tiled files using a file
name. |
java.util.ArrayList<RasterDataParameters> |
createParametersList(java.io.File file)
Builds a
RasterStoreParameters using a file. |
java.util.ArrayList<RasterDataParameters> |
createParametersList(java.lang.String id)
Builds a
RasterStoreParameters using a file name. |
void |
exportBufferToFile(Buffer bufResult,
double pixelSize,
java.lang.String extension,
boolean alphaBand,
java.io.File file,
Extent extent,
ColorInterpretation colorInterpretation)
Saves a buffer to disk
|
java.lang.String[] |
getDriversExtensions()
Obtiene la lista de extensiones registradas
|
java.util.ArrayList<java.lang.String> |
getExtensionsSupported(int dataType,
int bands)
Obtiene la lista de extensiones de ficheros sobre los que se puede salvar
en un determinado tipo de datos.
|
java.lang.String[] |
getReadOnlyFormatList()
Returns the list of supported formats in read only mode
|
java.lang.String[] |
getWriteDriversType()
Obtiene la lista de tipos de driver
|
java.lang.String |
getWriteDriverType(java.lang.String ext)
Obtiene el tipo de driver a partir de la extensión
|
int |
getWriteNDrivers()
Devuelve el número de drivers soportados
|
int |
getWriteNTypes()
Devuelve el número de tipos de driver registrados
|
boolean |
isExtensionSupported(java.lang.String ext)
Returns true if the extension is supported and false if doesn't
|
boolean |
isExtensionSupported(java.lang.String ext,
java.lang.Class<?> c)
Returns true if the extension is supported and false if doesn't
|
boolean |
isSupportedThisFileToWrite(java.lang.String ext,
int dataType,
int bands)
Método que pregunta si la extensión pasada por parámetro está soportada
con
el tipo y número de bandas indicadas.
|
RasterDataStore |
open(CoverageStoreProvider prov,
DataStoreParameters params) |
RasterDataStore |
open(DataStoreParameters param)
Abre un dataset pasando como parámetros la proyección y un objeto
identificador del dataset.
|
RasterDataStore |
open(java.lang.String file) |
void |
registerCRSUtilImplementation(CRSUtils crsUtil)
Registers a implementation for the CRS service
|
void |
registerFileProvidersTiled(java.lang.Class<?> provider)
Registers raster providers that support tiles.
|
void |
registerOverviewBuilderImplementation(java.lang.String id,
OverviewBuilder ovBuilder)
Registers a implementation to create overviews
|
void |
registerTileProviderFormats(java.lang.Class<?> c)
Gets the list of raster providers that support tiles.
|
void |
saveObjectToRmfFile(java.lang.String file,
java.lang.Class<?> class1,
java.lang.Object value)
Guarda en el fichero file (en formato RMF) el objecto value usando el
serializador que trata
las clases class1.
|
void |
saveObjectToRmfFile(java.lang.String file,
java.lang.Object value)
The object passed by parameter is saved in the selected file (in RMF
format)
using the serializer.
|
RasterDataStore open(DataStoreParameters param) throws NotSupportedExtensionException, RasterDriverException
param
- Parámetros al driverNotSupportedExtensionException
RasterDriverException
RasterDataStore open(java.lang.String file) throws NotSupportedExtensionException, RasterDriverException, InitializeException, ProviderNotRegisteredException
RasterDataStore open(CoverageStoreProvider prov, DataStoreParameters params) throws NotSupportedExtensionException, RasterDriverException
void registerFileProvidersTiled(java.lang.Class<?> provider)
provider
- void registerTileProviderFormats(java.lang.Class<?> c)
void registerOverviewBuilderImplementation(java.lang.String id, OverviewBuilder ovBuilder)
ovBuilder
- void registerCRSUtilImplementation(CRSUtils crsUtil)
crsUtil
- void addFormat(java.lang.String ext, java.lang.Class<?> c)
ext
- Extensionc
- Provider classboolean isExtensionSupported(java.lang.String ext, java.lang.Class<?> c)
ext
- boolean isExtensionSupported(java.lang.String ext)
ext
- java.lang.String[] getReadOnlyFormatList()
java.lang.String[] getDriversExtensions()
java.util.ArrayList<java.lang.String> getExtensionsSupported(int dataType, int bands) throws RasterDriverException
dataType
- Tipo de datosbands
- Numero de bandasreprojectable
- Especifica si devuelve solo los formatos reproyectablesRasterDriverException
java.lang.String[] getWriteDriversType()
java.lang.String getWriteDriverType(java.lang.String ext)
ext
- Extensiónint getWriteNDrivers()
int getWriteNTypes()
boolean isSupportedThisFileToWrite(java.lang.String ext, int dataType, int bands)
dataType
- Tipo de datobands
- Número de bandasextensión
- void saveObjectToRmfFile(java.lang.String file, java.lang.Class<?> class1, java.lang.Object value) throws RmfSerializerException
file
- class1
- value
- RmfSerializerException
void saveObjectToRmfFile(java.lang.String file, java.lang.Object value) throws RmfSerializerException
file
- value
- RmfSerializerException
RasterDataParameters createParameters(java.lang.String id)
RasterStoreParameters
using a file name.
It is only valid for files.RasterDataParameters createNotTiledParameters(java.lang.String id) throws InitializeException, ProviderNotRegisteredException
RasterStoreParameters
using a file name.
It is only valid for files but the provider will be not tiledjava.util.ArrayList<RasterDataParameters> createParametersList(java.lang.String id)
RasterStoreParameters
using a file name. If exists
more than one
provider which support this file this method will return a list of
parameters
It is only valid for files.java.util.ArrayList<RasterDataParameters> createParametersList(java.io.File file)
RasterStoreParameters
using a file. If exists more
than one
provider which support this file this method will return a list of
parameters
It is only valid for files.RasterDataParameters createParametersForTiledFiled(java.lang.String id)
RasterStoreParameters
for tiled files using a file
name.void exportBufferToFile(Buffer bufResult, double pixelSize, java.lang.String extension, boolean alphaBand, java.io.File file, Extent extent, ColorInterpretation colorInterpretation) throws NotSupportedExtensionException, RasterDriverException, ProcessInterruptedException, java.io.IOException
bufResult
- Buffer to savepixelSize
- Pixel sizeextension
- output file formatalphaBand
- true if it has alpha bandfile
- Path to the new fileextent
- Bounding box of the bufferNotSupportedExtensionException
RasterDriverException
ProcessInterruptedException
java.io.IOException