org.deegree.ogcwebservices.wms.configuration
Class RemoteWMSDataSource
java.lang.Object
org.deegree.ogcwebservices.wms.configuration.AbstractDataSource
org.deegree.ogcwebservices.wms.configuration.RemoteWMSDataSource
public class RemoteWMSDataSource
- extends AbstractDataSource
Data source description for a REMOTEWMS datasource
- Version:
- $Revision: 9345 $, $Date: 2007-12-27 17:22:25 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth
Constructor Summary |
RemoteWMSDataSource(boolean querable,
boolean failOnException,
QualifiedName name,
int type,
OGCWebService ows,
URL capabilitiesURL,
ScaleHint scaleHint,
Geometry validArea,
GetMap getMap,
Color[] transparentColors,
URL featureInfoTransform,
int reqTimeLimit,
List<String> passedParameters,
Map<String,String> addedParameters)
Creates a new DataSource object. |
RemoteWMSDataSource
public RemoteWMSDataSource(boolean querable,
boolean failOnException,
QualifiedName name,
int type,
OGCWebService ows,
URL capabilitiesURL,
ScaleHint scaleHint,
Geometry validArea,
GetMap getMap,
Color[] transparentColors,
URL featureInfoTransform,
int reqTimeLimit,
List<String> passedParameters,
Map<String,String> addedParameters)
- Creates a new DataSource object.
- Parameters:
querable
- failOnException
- name
- name of the featuretype to accesstype
- type of the data source (REMOTEWCS, LOCALWCS)ows
- OGCWebService instance for accessing the data
sourcecapabilitiesURL
- scaleHint
- filter conditionvalidArea
- getMap
- transparentColors
- featureInfoTransform
- reqTimeLimit
- passedParameters
- parameter names to be passed in incoming GetMap requestsaddedParameters
- parameters and values to be added to outgoing GetMap requests
getGetMapRequest
public GetMap getGetMapRequest()
- returns an instance of a GetMapRequest encapsulating the
filter conditions against a remote WMS. The request object contains:
WMTVER, LAYERS, STYLES, FORMAT, TRANSPARENT, VENDORSPECIFICPARAMETERS
- Returns:
- filter conditions
getTransparentColors
public Color[] getTransparentColors()
- Returns:
- an array of colors that shall be treated as transparent
getOGCWebService
public OGCWebService getOGCWebService()
- returns an instance of the OGCWebService that represents the
datasource. Notice: if more than one layer uses data that are offered by
the same OWS the deegree WMS shall just use one instance for accessing
the OWS
- Specified by:
getOGCWebService
in class AbstractDataSource
- Returns:
- an instance of the OGCWebService that represents the
datasource. Notice: if more than one layer uses data that are offered by
the same OWS the deegree WMS shall just use one instance for accessing
the OWS
getPassedParameters
public List<String> getPassedParameters()
- Returns:
- a list of parameter names to be passed from incoming requests
getAddedParameters
public Map<String,String> getAddedParameters()
- Returns:
- a list of parameters to be added to outgoing requests
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net