org.deegree.ogcwebservices.wms.configuration
Class WMSDeegreeParams
java.lang.Object
org.deegree.enterprise.DeegreeParams
org.deegree.ogcwebservices.wms.configuration.WMSDeegreeParams
- All Implemented Interfaces:
- java.io.Serializable
public class WMSDeegreeParams
- extends DeegreeParams
- Version:
- $Revision: 18195 $
- Author:
- Andreas Poth, Markus Schneider
- See Also:
- Serialized Form
Constructor Summary |
WMSDeegreeParams(int cacheSize,
int maxLifeTime,
int requestTimeLimit,
float mapQuality,
OnlineResource defaultOnlineResource,
int maxMapWidth,
int maxMapHeight,
boolean antiAliased,
int featureInfoRadius,
java.lang.String copyRight,
java.net.URL schemaLocation,
java.net.URL dtdLocation,
Proxy proxy,
java.util.List<java.lang.String> supportedVersions,
java.net.URL featureSchemaLocation,
java.lang.String featureSchemaNamespace,
boolean filtersAllowed)
|
WMSDeegreeParams(int cacheSize,
int maxLifeTime,
int requestTimeLimit,
float mapQuality,
OnlineResource defaultOnlineResource,
int maxMapWidth,
int maxMapHeight,
boolean antiAliased,
int featureInfoRadius,
java.lang.String copyRight,
java.net.URL schemaLocation,
java.net.URL dtdLocation,
Proxy proxy,
java.util.List<java.lang.String> supportedVersions,
java.net.URL featureSchemaLocation,
java.lang.String featureSchemaNamespace,
boolean filtersAllowed,
java.lang.String defaultPNGFormat)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMSDeegreeParams
public WMSDeegreeParams(int cacheSize,
int maxLifeTime,
int requestTimeLimit,
float mapQuality,
OnlineResource defaultOnlineResource,
int maxMapWidth,
int maxMapHeight,
boolean antiAliased,
int featureInfoRadius,
java.lang.String copyRight,
java.net.URL schemaLocation,
java.net.URL dtdLocation,
Proxy proxy,
java.util.List<java.lang.String> supportedVersions,
java.net.URL featureSchemaLocation,
java.lang.String featureSchemaNamespace,
boolean filtersAllowed)
- Parameters:
cacheSize
- maxLifeTime
- requestTimeLimit
- mapQuality
- defaultOnlineResource
- maxMapWidth
- maxMapHeight
- antiAliased
- featureInfoRadius
- (default = 5)copyRight
- schemaLocation
- dtdLocation
- proxy
- supportedVersions
- featureSchemaLocation
- featureSchemaNamespace
- filtersAllowed
-
WMSDeegreeParams
public WMSDeegreeParams(int cacheSize,
int maxLifeTime,
int requestTimeLimit,
float mapQuality,
OnlineResource defaultOnlineResource,
int maxMapWidth,
int maxMapHeight,
boolean antiAliased,
int featureInfoRadius,
java.lang.String copyRight,
java.net.URL schemaLocation,
java.net.URL dtdLocation,
Proxy proxy,
java.util.List<java.lang.String> supportedVersions,
java.net.URL featureSchemaLocation,
java.lang.String featureSchemaNamespace,
boolean filtersAllowed,
java.lang.String defaultPNGFormat)
- Parameters:
cacheSize
- maxLifeTime
- requestTimeLimit
- mapQuality
- defaultOnlineResource
- maxMapWidth
- maxMapHeight
- antiAliased
- featureInfoRadius
- copyRight
- schemaLocation
- dtdLocation
- proxy
- supportedVersions
- featureSchemaLocation
- featureSchemaNamespace
- filtersAllowed
- defaultPNGFormat
-
getMaxLifeTime
public int getMaxLifeTime()
- Returns:
- the maximum life time of the internal processes (Threads) of the deegree WMS. default is 3600 seconds.
Datasources that are linked to WMS are not targeted by this value.
getCopyRight
public java.lang.String getCopyRight()
- Returns:
- a copy right note to draw at the left side of the maps bottom
getMapQuality
public float getMapQuality()
- Returns:
- the quality of the map for none loss-less image formats. the value ranges from 0 (lowest quality) to 1
(best quality)
Default is 0.95
getMaxMapHeight
public int getMaxMapHeight()
- Returns:
- the maximum map height that can be requested. If the GetMap-Parameter 'HEIGHT' extends max map width an
exception shall be returned to the client.
Default is 1000
getMaxMapWidth
public int getMaxMapWidth()
- Returns:
- the maximum map width that can be requested. If the GetMap-Parameter 'WIDTH' extends max map width an
exception shall be returned to the client.
Default is 1000
getSchemaLocation
public java.net.URL getSchemaLocation()
- Returns:
- the URL where the sxm schema definition of the response to an GetFeatureInfo request is located
getDTDLocation
public java.net.URL getDTDLocation()
- Returns:
- the URL where the DTD defining the OGC WMS capabilities is located
getProxy
public Proxy getProxy()
- Returns:
- the proxy used with the WMS.
isAntiAliased
public boolean isAntiAliased()
- Returns:
- true if a map shall be rendered with antialising
getFeatureInfoRadius
public int getFeatureInfoRadius()
- Returns:
- the radius (pixel) of the area considered for a feature info request (default = 5px)
getSupportedVersions
public java.util.List<java.lang.String> getSupportedVersions()
- Returns:
- the supportedVersions.
setMaxMapHeight
public void setMaxMapHeight(int maxMapHeight)
- Parameters:
maxMapHeight
- The maxMapHeight to set.
setMaxMapWidth
public void setMaxMapWidth(int maxMapWidth)
- Parameters:
maxMapWidth
- The maxMapWidth to set.
getFeatureSchemaLocation
public java.net.URL getFeatureSchemaLocation()
- Returns:
- Returns the featureSchemaLocation.
getFeatureSchemaNamespace
public java.lang.String getFeatureSchemaNamespace()
- Returns:
- Returns the featureSchemaNamespace.
getFiltersAllowed
public boolean getFiltersAllowed()
- Returns:
- whether filters are supported by this WMS
getDefaultPNGFormat
public java.lang.String getDefaultPNGFormat()
- Returns:
- the default PNG format (; mode=8bit/; mode=24bit), or null if not specified
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org