public class GoogleMapsProvider extends AbstractRasterProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION
Provider Description
|
static String |
METADATA_DEFINITION_NAME
Provider Definition Name
|
static String |
NAME
Provider Name
|
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, transparency, urimetadata, parameters, store| Constructor and Description |
|---|
GoogleMapsProvider()
Does nothing
|
GoogleMapsProvider(GoogleMapsParams params,
DataStoreProviderServices storeServices)
Creates a GoogleMapsProvider
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(File file)
Adds a new file.
|
void |
close()
Request to close de source
|
int |
getBlockSize() |
ColorInterpretation |
getColorInterpretation()
Gets the object with the color interpretation by band
|
Object |
getData(int x,
int y,
int band)
Obtiene el valor del raster en la coordenada que se le pasa.
|
Extent |
getExtent()
Gets the bounding box in world coordinates.
|
String |
getFileSuffix()
Gets the suffix of the source file
|
String |
getFullName()
Returns a more descriptive name for the provider that getName.
|
double |
getHeight()
Obtiene el ancho de la imagen
|
String |
getName()
Returns the name associated to the provider.
|
NoData |
getNoDataValue()
Gets the nodata value.
|
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
|
GoogleMapsParams |
getParameters()
getParameters
|
IProjection |
getProjection()
Sets the provider projection
|
String |
getProviderName()
Return the name of the provider.
|
TileServer |
getTileServer()
Gets the tile cache data server
|
DataStoreTransparency |
getTransparency()
Obtiene el estado de transparencia a partir de los estados de transparencia de todos
los ficheros que lo componen.
|
Extent |
getView()
Obtiene el extent asignado
|
double |
getWidth()
Obtiene el ancho de la imagen
|
void |
init(DataStoreParameters params,
DataStoreProviderServices storeServices)
Crea las referencias al fichero y carga
las estructuras con la información y los metadatos
|
Object |
invokeDynMethod(int code,
Object[] args) |
Object |
invokeDynMethod(String name,
Object[] args) |
boolean |
isOpen()
Returns true if this provider is open and false if don't
|
boolean |
isOverviewsSupported()
Informa de si el dataset soporta overviews o no.
|
boolean |
isReproyectable()
Devuelve si el Dataset es reproyectable
|
boolean |
isSupersampling()
Informa de si el driver ha supersampleado en el �ltimo dibujado.
|
boolean |
isTiled()
Returns true if the provider support tiles
|
boolean |
isTimeSupported()
Returns true if this provider supports time.
|
RasterProvider |
load()
Carga un fichero raster.
|
void |
loadBuffer(SpiRasterQuery query)
Load a buffer with the parameters.
|
Object |
readBlock(int pos,
int blockHeight,
double scale)
Reads a complete block of data and returns an tridimensional array of the right type.
|
static void |
register()
Registers Provider
|
void |
reload() |
void |
removeFile(File file)
Removes a file.
|
void |
setAffineTransform(AffineTransform t)
Asigna una transformación al raster para que se tenga en cuenta en la
asignación del setView.
|
void |
setStatus(RasterProvider provider)
Sets the status information using other provider of the same type.
|
void |
setView(Extent e)
Asigna un nuevo Extent
|
URI |
translateURI(URI uri)
Traduce el nombre del fichero por un alias asignado por el propio driver.
|
cloneProvider, deleteLayerFromCache, doDispose, finalize, getAffineTransform, getBandCount, getBandCountByProvider, getBandPositionByProvider, getCellSize, getChilds, getColorTable, getDataParameters, getDataSet, getDataType, getDefaultBandList, getExplorer, getExtentWithoutRot, getFileSize, getFileSizeByProvider, getFormatList, getGeoPointList, getHistogramComputer, getImageLegend, getInfoByPoint, getInfoByPoint, getInternalProvider, getInternalProviderCount, getInterval, getMetadata, getOwnAffineTransform, getPixelSizeX, getPixelSizeY, getResource, getRmfBlocksManager, getRMFFile, getRMFFileForRemoteServices, getSourceId, getSourceType, getStatistics, getSubdatasetCount, getTileSize, getTime, getTimes, getTimes, getTimeSerials, getURI, getURIByBand, getURIByProvider, getURIOfFirstProvider, getWktProjection, init, isARGB, isGeoreferenced, isInside, isMosaic, isMultiFile, isRasterEnclosed, isRGB, isRotated, loadFromRmf, loadObjectFromRmf, loadObjectFromRmf, loadObjectFromRmfFile, needEnhanced, newProvider, open, rasterToWorld, 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, refresh, setDynValue, setMetadatadispose, disposeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowWrite, getStoreServicesrefreshclear, delegate, getDynClass, getDynValue, hasDynValue, implement, setDynValuedisposepublic static final String NAME
public static final String DESCRIPTION
public static final String METADATA_DEFINITION_NAME
public GoogleMapsProvider()
public GoogleMapsProvider(GoogleMapsParams params, DataStoreProviderServices storeServices) throws InitializeException
params - storeServices - InitializeExceptionpublic static void register()
public void init(DataStoreParameters params, DataStoreProviderServices storeServices) throws InitializeException
params - storeServices - InitializeExceptionpublic IProjection getProjection()
RasterProvidergetProjection in interface RasterProvidergetProjection in class AbstractRasterProviderpublic Extent getExtent()
getExtent in interface RasterProvidergetExtent in class AbstractRasterProviderpublic void reload()
reload in interface RasterProviderreload in class AbstractRasterProviderpublic RasterProvider load()
AbstractRasterProviderload in class AbstractRasterProviderpublic boolean isOpen()
RasterProviderpublic void close()
DataStoreProviderclose in interface RasterProviderclose in class AbstractRasterProviderpublic URI translateURI(URI uri)
AbstractRasterProvidertranslateURI in class AbstractRasterProviderpublic NoData getNoDataValue()
RasterProvidergetNoDataValue in interface RasterProvidergetNoDataValue in class AbstractRasterProviderpublic void setView(Extent e)
AbstractRasterProvidersetView in class AbstractRasterProvidere - Extentpublic Extent getView()
AbstractRasterProvidergetView in interface RasterProvidergetView in class AbstractRasterProviderpublic double getWidth()
AbstractRasterProvidergetWidth in interface RasterProvidergetWidth in class AbstractRasterProviderpublic double getHeight()
AbstractRasterProvidergetHeight in interface RasterProvidergetHeight in class AbstractRasterProviderpublic Object readBlock(int pos, int blockHeight, double scale) throws InvalidSetViewException, FileNotOpenException, RasterDriverException, ProcessInterruptedException
RasterProviderpublic Object getData(int x, int y, int band) throws InvalidSetViewException, FileNotOpenException, RasterDriverException
AbstractRasterProvidergetData in interface RasterProvidergetData in class AbstractRasterProviderx - coordenada Xy - coordenada YInvalidSetViewExceptionFileNotOpenExceptionRasterDriverExceptionpublic int getBlockSize()
getBlockSize in class AbstractRasterProviderpublic boolean isSupersampling()
public void setAffineTransform(AffineTransform t)
RasterProvidersetAffineTransform in interface RasterProvidersetAffineTransform in class AbstractRasterProvidert - Transformación afín a aplicarpublic int getOverviewCount(int band)
throws BandAccessException,
RasterDriverException
RasterProviderBandAccessExceptionRasterDriverExceptionpublic int getOverviewWidth(int band,
int overview)
throws BandAccessException,
RasterDriverException
RasterProvidergetOverviewWidth in interface RasterProvidergetOverviewWidth in class AbstractRasterProviderBandAccessExceptionRasterDriverExceptionpublic int getOverviewHeight(int band,
int overview)
throws BandAccessException,
RasterDriverException
RasterProvidergetOverviewHeight in interface RasterProvidergetOverviewHeight in class AbstractRasterProviderBandAccessExceptionRasterDriverExceptionpublic boolean isOverviewsSupported()
AbstractRasterProviderisOverviewsSupported in interface RasterProviderisOverviewsSupported in class AbstractRasterProviderpublic boolean isReproyectable()
AbstractRasterProviderisReproyectable in interface RasterProviderisReproyectable in class AbstractRasterProviderpublic String getProviderName()
DataStoreProviderpublic String getName()
DataStoreProvidergetName in class AbstractRasterProviderpublic GoogleMapsParams getParameters()
public DataStoreTransparency getTransparency()
RasterProvidergetTransparency in interface RasterProvidergetTransparency in class AbstractRasterProviderpublic ColorInterpretation getColorInterpretation()
RasterProvidergetColorInterpretation in interface RasterProvidergetColorInterpretation in class AbstractRasterProviderpublic void setStatus(RasterProvider provider)
RasterProviderpublic boolean isTimeSupported()
RasterProviderisTimeSupported in interface RasterProviderisTimeSupported in class AbstractRasterProviderpublic boolean isTiled()
RasterProviderisTiled in interface RasterProviderisTiled in class AbstractRasterProviderpublic TileServer getTileServer()
RasterProviderpublic void loadBuffer(SpiRasterQuery query) 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 AbstractRasterProviderProcessInterruptedExceptionRasterDriverExceptionpublic void addFile(File file) throws InvalidSourceException
RasterProviderInvalidSourceExceptionpublic void removeFile(File file)
RasterProviderpublic String getFileSuffix()
RasterProvidergetFileSuffix in interface RasterProvidergetFileSuffix in class AbstractRasterProviderpublic String getFullName()
DataStoreProvidergetFullName in class AbstractRasterProviderpublic Object invokeDynMethod(String name, Object[] args) throws DynMethodException
invokeDynMethod in interface DynObjectinvokeDynMethod in class AbstractCoverageStoreProviderDynMethodExceptionpublic Object invokeDynMethod(int code, Object[] args) throws DynMethodException
invokeDynMethod in interface DynObjectinvokeDynMethod in class AbstractCoverageStoreProviderDynMethodException