public abstract class WMSPrjUtilBase
extends java.lang.Object
Constructor and Description |
---|
WMSPrjUtilBase(MapParameter defaultMapParameter) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Layer> |
filterLayers(java.util.List<WMSLayer> layers) |
protected MapParameter |
getDefaultMapParameter() |
Point2D |
getQueryCenter(WMSQueryParameter queryParam)
Get the center of WMS query parameter
|
protected java.lang.String[] |
mergerArray(java.lang.String[] arr1, java.lang.String[] arr2) |
void |
setLayerBounds(WMSCapabilities capabilities)
Set the geographical range of the layer
|
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.
|
public WMSPrjUtilBase(MapParameter defaultMapParameter)
protected java.lang.String[] mergerArray(java.lang.String[] arr1, java.lang.String[] arr2)
protected MapParameter getDefaultMapParameter()
public void setLayerBounds(WMSCapabilities capabilities)
Set the geographical range of the layer
capabilities
- WMS service capability informationpublic 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.
wmsParam
- wms map parametersmapParam
- map parameterspublic Point2D getQueryCenter(WMSQueryParameter queryParam)
Get the center of WMS query parameter
queryParam
- Wms query parameter