public class PostGISRasterProvider extends GdalProvider implements RemoteRasterProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
static String |
METADATA_DEFINITION_NAME |
static String |
NAME |
BAND_HEIGHT, file, FORMAT_ADRG, FORMAT_BMP, FORMAT_BT, FORMAT_EHDR, FORMAT_ELAS, FORMAT_ENVI, FORMAT_ERS, FORMAT_GRD, FORMAT_GSAG, FORMAT_GSBG, FORMAT_GTiff, FORMAT_HDF4, FORMAT_HFA, FORMAT_IDA, FORMAT_ILWIS, FORMAT_INGR, FORMAT_JP2, FORMAT_LEVELLER, FORMAT_MEM, FORMAT_MFF, FORMAT_MFF2, FORMAT_NITF, FORMAT_PAUX, FORMAT_PCIDSK, FORMAT_PNM, FORMAT_RMF, FORMAT_RST, FORMAT_TERRAGEN, FORMAT_VRT, formatListALPHA_BAND, bandCount, BLUE_BAND, bytesReaded, colorTable, externalTransformation, fileSize, fileUtil, geoPointList, GREEN_BAND, histogram, lineCnt, noData, ownTransformation, param, proj, rasterUtil, RED_BAND, rmfBlocksManager, selectedSubdatasetID, serialInfo, stats, storeServices, tileServer, transparency, urimetadata, parameters, store| Constructor and Description |
|---|
PostGISRasterProvider() |
PostGISRasterProvider(PostGISRasterDataParameters params,
DataStoreProviderServices storeServices) |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
getBufferLastRequest()
Gets the buffer of the last request.
|
File |
getFileLayer()
When the remote layer has fixed size this method downloads the file and return its reference.
|
String |
getFullName()
Returns a more descriptive name for the provider that getName.
|
File |
getLastRequest()
Gets the file of the last request.
|
Rectangle2D |
getLayerExtent(String layerName,
String srs)
Gets the bounding box of this layer
|
String |
getName()
Returns the name associated to the provider.
|
int |
getOverviewCount(int band)
Obtiene el número de overviews de una banda
|
int |
getOverviewHeight(int band,
int overview)
Obtiene el alto de una overview de una banda
|
int |
getOverviewWidth(int band,
int overview)
Obtiene el ancho de una overview de una banda
|
String |
getProviderName()
Return the name of the provider.
|
String |
getRMFFile()
Gets the rmf file path.
|
TileServer |
getTileServer()
Gets the tile cache data server
|
void |
init(AbstractRasterDataParameters params,
DataStoreProviderServices storeServices)
Creates data base references and loads structures with the information and metadata
|
void |
loadBuffer(SpiRasterQuery q)
Load a buffer with the parameters.
|
static void |
register() |
addFile, close, finalize, getBlockSize, getData, getFormatList, getHeight, getMetadata, getMimeType, getNative, getTransparency, getView, getWidth, isExtensionSupported, isGeoreferenced, isOpen, isOverviewsSupported, isReproyectable, isSupersampling, load, needEnhanced, readBlock, readCompleteLine, removeFile, setAffineTransform, setStatus, setView, translateURIcloneProvider, deleteLayerFromCache, doDispose, getAffineTransform, getBandCount, getBandCountByProvider, getBandPositionByProvider, getCellSize, getChilds, getColorInterpretation, getColorTable, getDataParameters, getDataSet, getDataType, getDefaultBandList, getExplorer, getExtent, getExtentWithoutRot, getFileSize, getFileSizeByProvider, getFileSuffix, getGeoPointList, getHistogramComputer, getImageLegend, getInfoByPoint, getInfoByPoint, getInternalProvider, getInternalProviderCount, getInterval, getNoDataValue, getOwnAffineTransform, getPixelSizeX, getPixelSizeY, getProjection, getResource, getRmfBlocksManager, getRMFFileForRemoteServices, getSourceId, getSourceType, getStatistics, getSubdatasetCount, getTileSize, getTime, getTimes, getTimes, getTimeSerials, getURI, getURIByBand, getURIByProvider, getURIOfFirstProvider, getWktProjection, init, isARGB, isInside, isMosaic, isMultiFile, isRasterEnclosed, isRGB, isRotated, isTiled, isTimeSupported, loadFromRmf, loadObjectFromRmf, loadObjectFromRmf, loadObjectFromRmfFile, newProvider, open, rasterToWorld, reload, resetAffineTransform, saveObjectToRmf, saveObjectToRmf, selectSubdataset, selectSubdataset, setColorInterpretation, setColorTable, setDataType, setFileSize, setFName, setGeoPointList, setNoDataValue, setParam, setProjection, setStatistics, setTileServer, setTimeSerials, singleDatasetInstance, translateFileName, worldToRasterallowWrite, clear, createCoverageSelection, createResource, delegate, getClassName, getDataStoreParameters, getDynClass, getDynValue, getEnvelope, getStoreServices, hasDynValue, implement, init, invokeDynMethod, invokeDynMethod, refresh, setDynValue, setMetadatadispose, disposeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFile, cloneProvider, close, deleteLayerFromCache, getAffineTransform, getBandCount, getBandCountByProvider, getBandPositionByProvider, getCellSize, getColorInterpretation, getColorTable, getData, getDataParameters, getDataSet, getDataType, getExtent, getExtentWithoutRot, getFileSizeByProvider, getFileSuffix, getFormatList, getGeoPointList, getHeight, getImageLegend, getInfoByPoint, getInfoByPoint, getInternalProvider, getInternalProviderCount, getMetadata, getNoDataValue, getOwnAffineTransform, getPixelSizeX, getPixelSizeY, getProjection, getSourceType, getStatistics, getSubdatasetCount, getTimeSerials, getTransparency, getURI, getURIByBand, getURIByProvider, getURIOfFirstProvider, getView, getWidth, getWktProjection, isGeoreferenced, isInside, isMosaic, isMultiFile, isOpen, isOverviewsSupported, isRasterEnclosed, isReproyectable, isRotated, isTiled, isTimeSupported, loadObjectFromRmf, needEnhanced, rasterToWorld, readBlock, reload, removeFile, saveObjectToRmf, selectSubdataset, setAffineTransform, setColorInterpretation, setColorTable, setGeoPointList, setNoDataValue, setProjection, setStatistics, setStatus, setTimeSerials, worldToRasterallowWrite, getStoreServicesgetChilds, getExplorer, getInterval, getResource, getSourceId, getTimes, getTimes, open, refreshclear, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValuedisposegetHistogramComputerpublic static String NAME
public static String DESCRIPTION
public static final String METADATA_DEFINITION_NAME
public PostGISRasterProvider()
public PostGISRasterProvider(PostGISRasterDataParameters params, DataStoreProviderServices storeServices) throws NotSupportedExtensionException
NotSupportedExtensionExceptionpublic static void register()
public void init(AbstractRasterDataParameters params, DataStoreProviderServices storeServices) throws NotSupportedExtensionException
init in class GdalProviderparams - load parametersNotSupportedExtensionExceptionpublic String getRMFFile()
RasterProvidergetRMFFile in interface RasterProviderpublic String getName()
DataStoreProvidergetName in class AbstractRasterProviderpublic String getFullName()
DataStoreProvidergetFullName in class AbstractRasterProviderpublic String getProviderName()
DataStoreProvidergetProviderName in interface CoverageStoreProvidergetProviderName in class GdalProviderpublic int getOverviewCount(int band)
throws BandAccessException,
RasterDriverException
RasterProvidergetOverviewCount in interface RasterProvidergetOverviewCount in class GdalProviderBandAccessExceptionRasterDriverExceptionpublic int getOverviewWidth(int band,
int overview)
throws BandAccessException,
RasterDriverException
RasterProvidergetOverviewWidth in interface RasterProvidergetOverviewWidth in class GdalProviderBandAccessExceptionRasterDriverExceptionpublic int getOverviewHeight(int band,
int overview)
throws BandAccessException,
RasterDriverException
RasterProvidergetOverviewHeight in interface RasterProvidergetOverviewHeight in class GdalProviderBandAccessExceptionRasterDriverExceptionpublic void loadBuffer(SpiRasterQuery q) throws ProcessInterruptedException, RasterDriverException
AbstractRasterProviderSpiRasterQuery by the RasterDataStore. The other
parameters have been calculated too, all of them adjusted to the raster limits. The provider only
have to read the parameters and load the buffer.loadBuffer in class GdalProviderProcessInterruptedExceptionRasterDriverExceptionpublic File getFileLayer() throws RasterDriverException
getFileLayer in interface RemoteRasterProviderRasterDriverExceptionpublic File getLastRequest()
RemoteRasterProvidergetLastRequest in interface RemoteRasterProviderpublic Buffer getBufferLastRequest() throws ProcessInterruptedException, RasterDriverException
RemoteRasterProvidergetBufferLastRequest in interface RemoteRasterProviderProcessInterruptedExceptionRasterDriverExceptionpublic Rectangle2D getLayerExtent(String layerName, String srs) throws RemoteServiceException
RemoteRasterProvidergetLayerExtent in interface RemoteRasterProviderRemoteServiceExceptionpublic TileServer getTileServer()
RasterProvidergetTileServer in interface RasterProvidergetTileServer in class GdalProvider