|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectWMSUtils
public class WMSUtils
Provides miscellaneous utility methods for use with WMSs.
Constructor Summary | |
---|---|
WMSUtils()
|
Method Summary | |
---|---|
static Set |
findCommonEPSGs(List layers)
Given a list of type Layer, return all EPSG codes that is supported by all of the layers. |
static Layer[] |
getNamedLayers(WMSCapabilities capabilities)
Utility method to return each layer that has a name. |
static Set |
getQueryableLayers(WMSCapabilities capabilities)
|
static Set |
getSRSs(WMSCapabilities capabilities)
|
static String |
matchEPSG(CoordinateReferenceSystem crs,
Set codes)
Given a CRS and a Set of type String consisting of EPSG CRS codes (such as "EPSG:4326"), it will check the transform that exists between each EPSG code's CRS and the given CRS. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WMSUtils()
Method Detail |
---|
public static Layer[] getNamedLayers(WMSCapabilities capabilities)
public static Set getQueryableLayers(WMSCapabilities capabilities)
public static Set getSRSs(WMSCapabilities capabilities)
public static Set findCommonEPSGs(List layers)
layers
- A List of type Layer
public static String matchEPSG(CoordinateReferenceSystem crs, Set codes)
crs
- a CRS that is to be compared to each EPSG code in codescodes
- a Set of type String containing EPSG codes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |