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, formatList
ALPHA_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, uri
metadata, 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, translateURI
cloneProvider, 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, worldToRaster
allowWrite, clear, createCoverageSelection, createResource, delegate, getClassName, getDataStoreParameters, getDynClass, getDynValue, getEnvelope, getStoreServices, hasDynMethod, hasDynValue, implement, init, invokeDynMethod, invokeDynMethod, refresh, setDynValue, setMetadata
dispose, dispose
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFile, 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, worldToRaster
allowWrite, getStoreServices
getChilds, getExplorer, getInterval, getResource, getSourceId, getTimes, getTimes, open, refresh
hasDynMethod
clear, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
dispose
getHistogramComputer
public static String NAME
public static String DESCRIPTION
public static final String METADATA_DEFINITION_NAME
public PostGISRasterProvider()
public PostGISRasterProvider(PostGISRasterDataParameters params, DataStoreProviderServices storeServices) throws NotSupportedExtensionException
NotSupportedExtensionException
public static void register()
public void init(AbstractRasterDataParameters params, DataStoreProviderServices storeServices) throws NotSupportedExtensionException
init
in class GdalProvider
params
- load parametersNotSupportedExtensionException
public String getRMFFile()
RasterProvider
getRMFFile
in interface RasterProvider
public String getName()
DataStoreProvider
getName
in class AbstractRasterProvider
public String getFullName()
DataStoreProvider
getFullName
in class AbstractRasterProvider
public String getProviderName()
DataStoreProvider
getProviderName
in interface CoverageStoreProvider
getProviderName
in class GdalProvider
public int getOverviewCount(int band) throws BandAccessException, RasterDriverException
RasterProvider
getOverviewCount
in interface RasterProvider
getOverviewCount
in class GdalProvider
BandAccessException
RasterDriverException
public int getOverviewWidth(int band, int overview) throws BandAccessException, RasterDriverException
RasterProvider
getOverviewWidth
in interface RasterProvider
getOverviewWidth
in class GdalProvider
BandAccessException
RasterDriverException
public int getOverviewHeight(int band, int overview) throws BandAccessException, RasterDriverException
RasterProvider
getOverviewHeight
in interface RasterProvider
getOverviewHeight
in class GdalProvider
BandAccessException
RasterDriverException
public void loadBuffer(SpiRasterQuery q) throws ProcessInterruptedException, RasterDriverException
AbstractRasterProvider
SpiRasterQuery
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 GdalProvider
ProcessInterruptedException
RasterDriverException
public File getFileLayer() throws RasterDriverException
getFileLayer
in interface RemoteRasterProvider
RasterDriverException
public File getLastRequest()
RemoteRasterProvider
getLastRequest
in interface RemoteRasterProvider
public Buffer getBufferLastRequest() throws ProcessInterruptedException, RasterDriverException
RemoteRasterProvider
getBufferLastRequest
in interface RemoteRasterProvider
ProcessInterruptedException
RasterDriverException
public Rectangle2D getLayerExtent(String layerName, String srs) throws RemoteServiceException
RemoteRasterProvider
getLayerExtent
in interface RemoteRasterProvider
RemoteServiceException
public TileServer getTileServer()
RasterProvider
getTileServer
in interface RasterProvider
getTileServer
in class GdalProvider