public final class Constants
extends java.lang.Object
WMS Service constant.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFALUT_BGCOLOR
the map background color parameter constant.
|
static java.lang.String |
REQEUST_PARAM_WMTVERSION
Version parameter constant.
|
static java.lang.String |
REQUEST_PARAM_BBOX
Bounding box parameter constants.
|
static java.lang.String |
REQUEST_PARAM_BGCOLOR
the map background color parameter constant.
|
static java.lang.String |
REQUEST_PARAM_CRS
Coordinate system parameter constant.
|
static java.lang.String |
REQUEST_PARAM_ELEVATION
Elevation parameter constant.
|
static java.lang.String |
REQUEST_PARAM_EXCEPTIONS
Exception error report format parameter constant.
|
static java.lang.String |
REQUEST_PARAM_FEATURE_COUNT
The feature number parameter constant of the returned information.
|
static java.lang.String |
REQUEST_PARAM_FORMAT
Output format parameter constant.
|
static java.lang.String |
REQUEST_PARAM_HEIGHT
The map tile height parameter constant.
|
static java.lang.String |
REQUEST_PARAM_I
Pixel coordinates parameter constant in X.
|
static java.lang.String |
REQUEST_PARAM_INFO_FORMAT
The returned format parameter constant of the feature information.
|
static java.lang.String |
REQUEST_PARAM_J
Pixel coordinates parameter constant in Y.
|
static java.lang.String |
REQUEST_PARAM_LAYERS
Layer parameter constant.
|
static java.lang.String |
REQUEST_PARAM_QUERY_LAYERS
Validated layer parameter constant.
|
static java.lang.String |
REQUEST_PARAM_REQUEST
The requested name parameter constant.
|
static java.lang.String |
REQUEST_PARAM_SLD_BODY
SLD message body.
|
static java.lang.String |
REQUEST_PARAM_SRS
Coordinate system parameter constant.
|
static java.lang.String |
REQUEST_PARAM_STYLES
Layer style parameter constant.
|
static java.lang.String |
REQUEST_PARAM_TIME
Time value parameter constant.
|
static java.lang.String |
REQUEST_PARAM_TRANSPARENT
Parameter constant that whether the map background is transparent.
|
static java.lang.String |
REQUEST_PARAM_VERSION
Version parameter constant.
|
static java.lang.String |
REQUEST_PARAM_WIDTH
The map tile width parameter constant.
|
static java.lang.String |
REQUEST_PARAM_X
Pixel coordinates parameter constant in X.
|
static java.lang.String |
REQUEST_PARAM_Y
Pixel coordinates parameter constant in Y.
|
static java.lang.String |
SE_XML
The exception information XML parameter constant.
|
static java.lang.String |
WMS_XML
Return the information XML parameter constant.
|
Constructor and Description |
---|
Constants() |
public static final java.lang.String REQUEST_PARAM_LAYERS
Layer parameter constant.
The default value is “LAYERS”. It represents the LAYERS parameter of the GetMap operation, to specify the map layer.
public static final java.lang.String REQUEST_PARAM_STYLES
Layer style parameter constant.
The default value is “STYLES”. It represents the STYLES parameter of the GetMap operation, to specify the layer style.
public static final java.lang.String REQUEST_PARAM_SLD_BODY
SLD message body.
public static final java.lang.String REQUEST_PARAM_CRS
Coordinate system parameter constant.
The default value is “CRS”. It represents the CRS parameter of the WMS 1.3.0 GetMap operation, to specify the coordinate system.
public static final java.lang.String REQUEST_PARAM_BBOX
Bounding box parameter constants.
The default value is "BBOX", which represents the BBOX parameter in the GetMap operation, which specifies the map range.
public static final java.lang.String REQUEST_PARAM_WIDTH
The map tile width parameter constant.
The default value is “WIDTH”. It represents the WIDTH parameter of the GetMap operation, to specify the map tile width.
public static final java.lang.String REQUEST_PARAM_HEIGHT
The map tile height parameter constant.
The default value is “HEIGHT”. It represents the HEIGHT parameter of the GetMap operation, to specify the map tile height.
public static final java.lang.String REQUEST_PARAM_FORMAT
Output format parameter constant.
The default value is “FORMAT” which represents the FORMAT parameter of the GetCapabilities and GetMap operations. The FORMAT parameter of the GetCapabilities operation means the output format of the service meta data, optional; the FORMAT parameter of the GetMap operation means the map output format.
public static final java.lang.String REQUEST_PARAM_TRANSPARENT
Parameter constant that whether the map background is transparent.
The default value is “TRANSPARENT” which represents the TRANSPARENT parameter of the GetMap operation which indicates whether the map background is transparent, that is, whether the map image is transparent where there is no geographical feature. It is optional, the default is false (not transparent).
public static final java.lang.String REQUEST_PARAM_BGCOLOR
the map background color parameter constant.
The default value is “BGCOLOR”, which represents the BGCOLOR parameter to specify the map background color which is optional and whose default value is 0xFFFFFF.
public static final java.lang.String REQUEST_PARAM_EXCEPTIONS
Exception error report format parameter constant.
The default value is “EXCEPTIONS”, which represents the EXCEPTIONS parameter in WMS operation. The parameter is used to specify the exception error report format, and its default value is different between different versions.
public static final java.lang.String REQUEST_PARAM_TIME
Time value parameter constant.
The default value is “TIME”, which represents the TIME parameter of the GetMap operation. The parameter is used to specify the expected time value for the layer.
public static final java.lang.String REQUEST_PARAM_ELEVATION
Elevation parameter constant.
The default value is “ELEVATION”, which represents the ELEVATION parameter of the GetMap operation. The parameter is used to specify the expected elevation value for the layer.
public static final java.lang.String REQUEST_PARAM_QUERY_LAYERS
Validated layer parameter constant.
The default value is “QUERY_LAYERS”, which represents the QUERY_LAYERS parameter of the GetFeatureInfo operation. The parameter is used to specify the layer list to be queried.
public static final java.lang.String REQUEST_PARAM_INFO_FORMAT
The returned format parameter constant of the feature information.
The default value is “INFO_FORMAT”, which represents the “INFO_FORMAT” parameter of the GetFeatureInfo operation. The parameter is used to specify the returned format of the feature information (MIME type).
public static final java.lang.String REQUEST_PARAM_FEATURE_COUNT
The feature number parameter constant of the returned information.
The default value is “FEATURE_COUNT”, which represents the “FEATURE_COUNT” parameter of the GetFeatureInfo operation. The parameter is used to specify the feature number of the returned information. The parameter is optional, and the default value is 1.
public static final java.lang.String REQUEST_PARAM_I
Pixel coordinates parameter constant in X.
The default value is “I”, which represents the I parameter of the WMS 1.3.0 GetFeatureInfo operation. It specifies the X coordinates of the elements represented in pixels (0 on the left and increasing to the right).
public static final java.lang.String REQUEST_PARAM_J
Pixel coordinates parameter constant in Y.
The default value is “J”, which represents the J parameter of the WMS 1.3.0 GetFeatureInfo operation. It specifies the Y coordinates of the elements represented in pixels (0 on the top and increasing to the bottom).
public static final java.lang.String REQUEST_PARAM_VERSION
Version parameter constant.
The default value is “VERSION”, which represents the VERSION parameter of the WMS operation. The parameter is used to specify the requested version number, which is for the version 1.1.1 and above.
public static final java.lang.String REQEUST_PARAM_WMTVERSION
Version parameter constant.
The default value is “WMTVER”, which represents the WMTVER parameter of the WMS 1.0.0 operation. The parameter is used to specify the requested version number, which is for the version 1.0.0. The version 1.1.1 is compatible with this parameter.
public static final java.lang.String REQUEST_PARAM_REQUEST
The requested name parameter constant.
The default value is “REQUEST”, which represents the REQUEST parameter of the WMS operation. The parameter is used to specify the requested operation (GetCapabilities, GetMap or GetFeatureInfo).
public static final java.lang.String REQUEST_PARAM_SRS
Coordinate system parameter constant.
The default value is “SRS”. It represents the SRS parameter of the WMS 1.1.1 GetMap operation, to specify the coordinate system.
public static final java.lang.String WMS_XML
Return the information XML parameter constant.
The default value is “application/vnd.ogc.wms_xml”, which is one of the returned information Content-Type of the GetCapabilities and GetFeatureInfo operations. The default value is for the version 1.1.1.
public static final java.lang.String SE_XML
The exception information XML parameter constant.
The default value is "application/vnd.ogc.se_xml”. When there is exception for the WMS operation, it returns the exception information, which is one of the exception information Content-Type, is the default value for the version 1.1.1.
public static final java.lang.String REQUEST_PARAM_Y
Pixel coordinates parameter constant in Y.
The default value is “Y”, which represents the Y parameter of the WMS 1.1.1 GetFeatureInfo operation. It specifies the Y coordinate of the elements represented in pixels (0 on the left-upper corner).
public static final java.lang.String REQUEST_PARAM_X
Pixel coordinates parameter constant in X.
The default value is “X”, which represents the X parameter of the WMS 1.1.1 GetFeatureInfo operation. It specifies the X coordinate of the elements represented in pixels (0 on the left-upper corner).
public static final java.lang.String DEFALUT_BGCOLOR
the map background color parameter constant.
The default value is "DEFAULTBGCOLOR", which indicates the background color of the background style in the map default configuration, which is used to specify the background color of the wms map image.