|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.rendering.r3d.opengl.rendering.dem.texturing.WMSTextureTileProvider
public class WMSTextureTileProvider
TextureTileProvider
that delegates tile requests to a WMS.
Constructor Summary | |
---|---|
WMSTextureTileProvider(URL capabilitiesURL,
String[] requestedLayers,
ICRS requestCRS,
String requestFormat,
boolean transparent,
double res,
int maxWidth,
int maxHeight,
int requestTimeout)
Creates a new WMSTextureTileProvider instance. |
Method Summary | |
---|---|
ICRS |
getCRS()
|
Envelope |
getEnvelope()
|
double |
getNativeResolution()
Returns the provided resolution (in world units per pixel). |
TextureTile |
getTextureTile(TextureTileRequest request)
Get a TextureTile best fitting the request. |
boolean |
hasTextureForResolution(double unitsPerPixel)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WMSTextureTileProvider(URL capabilitiesURL, String[] requestedLayers, ICRS requestCRS, String requestFormat, boolean transparent, double res, int maxWidth, int maxHeight, int requestTimeout)
WMSTextureTileProvider
instance.
capabilitiesURL
- URL of the capabilities document (usually a GetCapabilities request)requestedLayers
- name of the requested layersrequestCRS
- crs for the GetMap requestsrequestFormat
- image format, e.g. 'image/png'transparent
- true, if the image should be requested using "transparent=true", false otherwiseres
- resolution (world units per pixel)maxWidth
- maximum map width (in pixels) that the WMS allows or -1 if unconstrainedmaxHeight
- maximum map height (in pixels) that the WMS allows or -1 if unconstrainedrequestTimeout
- maximum number of seconds to wait for a WMS response or -1 if unconstrainedMethod Detail |
---|
public double getNativeResolution()
TextureTileProvider
getNativeResolution
in interface TextureTileProvider
public TextureTile getTextureTile(TextureTileRequest request)
TextureTileProvider
TextureTile
best fitting the request.
getTextureTile
in interface TextureTileProvider
request
- information about the request.
public boolean hasTextureForResolution(double unitsPerPixel)
hasTextureForResolution
in interface TextureTileProvider
public Envelope getEnvelope()
getEnvelope
in interface TextureTileProvider
TextureTileProvider
public ICRS getCRS()
getCRS
in interface TextureTileProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |