|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.wms.raster.WMSReader
public class WMSReader
TODO add class documentation here
Field Summary | |
---|---|
static String |
RIO_WMS_DEFAULT_FORMAT
Defines the default (image) format of a get map request to a WMS. |
static String |
RIO_WMS_ENABLE_TRANSPARENT
Defines the key to set the GetMap retrieval to transparent. |
static String |
RIO_WMS_LAYERS
Defines the maximum height of a GetMap request. |
static String |
RIO_WMS_MAX_HEIGHT
Defines the maximum height of a GetMap request. |
static String |
RIO_WMS_MAX_SCALE
Defines the maximum scale of a WMS. |
static String |
RIO_WMS_MAX_WIDTH
Defines the maximum width of a GetMap request. |
static String |
RIO_WMS_REFRESH_TIME
The refresh time of the capabilities |
static String |
RIO_WMS_SYS_ID
Defines the system id to be used as raster io key, for setting the system id or the capabilities url. |
static String |
RIO_WMS_TIMEOUT
Defines the key to set the GetMap retrieval timeout. |
Constructor Summary | |
---|---|
WMSReader()
|
Method Summary | |
---|---|
boolean |
canLoad(File filename)
Check if the raster reader is able to read the given raster file. |
boolean |
canReadTiles()
should return true if the given reader can easily read tiles,without consuming much more memory than needed. |
void |
dispose()
Signals the reader that it should try to dispose all in memory data. |
File |
file()
|
WMSClient111 |
getClient()
|
ICRS |
getCRS()
|
String |
getDataLocationId()
|
RasterGeoReference |
getGeoReference()
|
int |
getHeight()
|
List<String> |
getLayers()
|
RasterDataInfo |
getRasterDataInfo()
|
Set<String> |
getSupportedFormats()
|
int |
getWidth()
|
AbstractRaster |
load(File filename,
RasterIOOptions options)
Read the given raster file into an abstract raster. |
AbstractRaster |
load(InputStream stream,
RasterIOOptions options)
Read the given input stream into an abstract raster. |
BufferResult |
read(RasterRect rect,
ByteBuffer result)
|
boolean |
shouldCreateCacheFile()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RIO_WMS_SYS_ID
public static final String RIO_WMS_REFRESH_TIME
public static final String RIO_WMS_MAX_WIDTH
public static final String RIO_WMS_MAX_HEIGHT
public static final String RIO_WMS_LAYERS
public static final String RIO_WMS_MAX_SCALE
public static final String RIO_WMS_DEFAULT_FORMAT
public static final String RIO_WMS_ENABLE_TRANSPARENT
public static final String RIO_WMS_TIMEOUT
Constructor Detail |
---|
public WMSReader()
Method Detail |
---|
public boolean canLoad(File filename)
RasterReader
canLoad
in interface RasterReader
public boolean canReadTiles()
RasterReader
canReadTiles
in interface RasterReader
public void dispose()
RasterReader
dispose
in interface RasterReader
public File file()
file
in interface RasterReader
public String getDataLocationId()
getDataLocationId
in interface RasterReader
public RasterGeoReference getGeoReference()
getGeoReference
in interface RasterReader
public int getHeight()
getHeight
in interface RasterReader
public RasterDataInfo getRasterDataInfo()
getRasterDataInfo
in interface RasterReader
public Set<String> getSupportedFormats()
getSupportedFormats
in interface RasterReader
Set
of (image) formats mime/types the implementation is able to read.public int getWidth()
getWidth
in interface RasterReader
public AbstractRaster load(File filename, RasterIOOptions options) throws IOException
RasterReader
load
in interface RasterReader
IOException
- may be thrown when there is a problem with reading the raster.public AbstractRaster load(InputStream stream, RasterIOOptions options) throws IOException
RasterReader
load
in interface RasterReader
IOException
- may be thrown when there is a problem with reading the raster.public BufferResult read(RasterRect rect, ByteBuffer result) throws IOException
read
in interface RasterReader
rect
- to read.result
- to store the result in
IOException
public boolean shouldCreateCacheFile()
shouldCreateCacheFile
in interface RasterReader
public WMSClient111 getClient()
public List<String> getLayers()
public ICRS getCRS()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |