Package thredds.server.wms
Class TdsEnhancedVariableMetadata
java.lang.Object
thredds.server.wms.TdsEnhancedVariableMetadata
- All Implemented Interfaces:
uk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata
public class TdsEnhancedVariableMetadata
extends Object
implements uk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata
Use the custom settings in wmsConfig.xml to set default visualization values based on:
- global defaults
- TDS URL Path based defaults
- Standard Name based defaults
- variable name based defaults
-
Constructor Summary
ConstructorsConstructorDescriptionTdsEnhancedVariableMetadata(ThreddsWmsCatalogue layer, uk.ac.rdg.resc.edal.metadata.VariableMetadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionuk.ac.rdg.resc.edal.graphics.utils.PlottingStyleParametersgetId()getTitle()booleanbooleanbooleanstatic voidsetWmsConfig(WmsConfigBean config)
-
Constructor Details
-
TdsEnhancedVariableMetadata
public TdsEnhancedVariableMetadata(ThreddsWmsCatalogue layer, uk.ac.rdg.resc.edal.metadata.VariableMetadata metadata)
-
-
Method Details
-
setWmsConfig
-
getId
- Specified by:
getIdin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- The ID of the variable this
EnhancedVariableMetadatais associated with
-
getTitle
- Specified by:
getTitlein interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- The title of this layer to be displayed in the menu and the Capabilities document
-
getDescription
- Specified by:
getDescriptionin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- A brief description of this layer to be displayed in the Capabilities document
-
getCopyright
- Specified by:
getCopyrightin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Copyright information about this layer to be displayed be clients
-
getMoreInfo
- Specified by:
getMoreInfoin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- More information about this layer to be displayed be clients
-
getDefaultPlottingParameters
public uk.ac.rdg.resc.edal.graphics.utils.PlottingStyleParameters getDefaultPlottingParameters()- Specified by:
getDefaultPlottingParametersin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- The default plot settings for this variable - this may not return
null, but any of the defined methods within the returnedPlottingStyleParametersobject may do.
-
isQueryable
public boolean isQueryable()- Specified by:
isQueryablein interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Whether or not this layer can be queried with GetFeatureInfo requests
-
isDownloadable
public boolean isDownloadable()- Specified by:
isDownloadablein interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Whether or not this layer can be downloaded in CSV/CoverageJSON format
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceuk.ac.rdg.resc.edal.graphics.utils.EnhancedVariableMetadata- Returns:
- Whether this layer is disabled
-