Modifier and Type | Field and Description |
---|---|
static java.lang.String |
URL_CHARSET
The character set used for URL encoding.
|
Constructor and Description |
---|
WMSClient(java.lang.String url, java.lang.String userName, java.lang.String password)
${services_components_spi_ogc_WMSClient111_contructor_WMSClient111_Title}
|
Modifier and Type | Method and Description |
---|---|
WMSCapabilities |
getCapabilities(java.lang.String version)
${services_components_spi_ogc_WMSClient111_method_getCapabilities_Title}
|
WMSFeatureInfo[] |
getFeatureInfo(java.lang.String version, WMSQueryParameter wmsQueryParam)
${services_components_spi_ogc_WMSClient111_method_getFeatureInfo_Title}
|
byte[] |
getMap(java.lang.String version, WMSMapParameter wmsMapParam)
${services_components_spi_ogc_WMSClient111_method_getMap_Title}
|
java.lang.String |
getMapUrl(java.lang.String version, WMSMapParameter wmsMapParam)
Gets the url corresponding to the image
|
public static final java.lang.String URL_CHARSET
The default is UTF-8.
public WMSClient(java.lang.String url, java.lang.String userName, java.lang.String password)
${services_components_spi_ogc_WMSClient111_contructor_WMSClient111_Title}
${services_components_spi_ogc_WMSClient111_contructor_WMSClient111_Description}
url${services_components_spi_ogc_WMSClient111_contructor_param_url}
-userName${services_components_spi_ogc_WMSClient111_contructor_param_userName}
-password${services_components_spi_ogc_WMSClient111_contructor_param_password}
-public WMSCapabilities getCapabilities(java.lang.String version) throws WMSServiceException
${services_components_spi_ogc_WMSClient111_method_getCapabilities_Title}
${services_components_spi_ogc_WMSClient111_method_getCapabilities_Description}
getCapabilities
in interface WMS
version${services_components_spi_ogc_WMSClient111_method_getCapabilities_param_version}
-WMSServiceException${services_components_spi_ogc_WMSClient111_method_getCapabilities_throws_WMSServiceException}
WMSServiceException
public WMSFeatureInfo[] getFeatureInfo(java.lang.String version, WMSQueryParameter wmsQueryParam) throws WMSServiceException
${services_components_spi_ogc_WMSClient111_method_getFeatureInfo_Title}
${services_components_spi_ogc_WMSClient111_method_getFeatureInfo_Description}
getFeatureInfo
in interface WMS
version${services_components_spi_ogc_WMSClient111_method_getFeatureInfo_param_version}
-wmsQueryParam${services_components_spi_ogc_WMSClient111_method_getFeatureInfo_param_wmsQueryParam}
-WMSServiceException${services_components_spi_ogc_WMSClient111_method_getFeatureInfo_throws_WMSServiceException}
WMSServiceException
public byte[] getMap(java.lang.String version, WMSMapParameter wmsMapParam) throws WMSServiceException
${services_components_spi_ogc_WMSClient111_method_getMap_Title}
${services_components_spi_ogc_WMSClient111_method_getMap_Description}
getMap
in interface WMS
version${services_components_spi_ogc_WMSClient111_method_getMap_param_version}
-wmsMapParam${services_components_spi_ogc_WMSClient111_method_getMap_param_wmsMapParam}
-WMSServiceException${services_components_spi_ogc_WMSClient111_method_getMap_throws_WMSServiceException}
WMSServiceException
public java.lang.String getMapUrl(java.lang.String version, WMSMapParameter wmsMapParam) throws java.lang.IllegalArgumentException
version
- VersionwmsMapParamwms
- Parameter informationjava.lang.IllegalArgumentException
- Exception information