com.supermap.services.wms
Class WMSPrjUtilBase
- java.lang.Object
-
- com.supermap.services.wms.WMSPrjUtilBase
-
public abstract class WMSPrjUtilBase extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description WMSPrjUtilBase(MapParameter defaultMapParameter)
-
Method Summary
Methods Modifier and Type Method and Description protected java.util.List<Layer>filterLayers(java.util.List<WMSLayer> layers)protected MapParametergetDefaultMapParameter()Point2DgetQueryCenter(WMSQueryParameter queryParam)Get the center of WMS query parameterprotected java.lang.String[]mergerArray(java.lang.String[] arr1, java.lang.String[] arr2)voidsetLayerBounds(WMSCapabilities capabilities)Set the geographical range of the layervoidtranform(WMSMapParameter wmsParam, MapParameter mapParam)Modify the output range and projection system of MapParameter according to crs/srs of WMSMapParameter and the output range.
-
-
-
Constructor Detail
-
WMSPrjUtilBase
public WMSPrjUtilBase(MapParameter defaultMapParameter)
-
-
Method Detail
-
mergerArray
protected java.lang.String[] mergerArray(java.lang.String[] arr1, java.lang.String[] arr2)
-
getDefaultMapParameter
protected MapParameter getDefaultMapParameter()
-
setLayerBounds
public void setLayerBounds(WMSCapabilities capabilities)
Set the geographical range of the layer
- Parameters:
capabilities- WMS service capability information
-
tranform
public void tranform(WMSMapParameter wmsParam, MapParameter mapParam)
Modify the output range and projection system of MapParameter according to crs/srs of WMSMapParameter and the output range.
- Parameters:
wmsParam- wms map parametersmapParam- map parameters
-
getQueryCenter
public Point2D getQueryCenter(WMSQueryParameter queryParam)
Get the center of WMS query parameter
- Parameters:
queryParam- Wms query parameter- Returns:
- The center of WMS query parameter
-
-